Class AlertSchema
Schema.
Implements
Ecng.Serialization.IPersistable
Namespace: StockSharp.Alerts
Assembly: StockSharp.Alerts.dll
Syntax
public class AlertSchema : Object, IPersistable
Constructors
AlertSchema()
Создать AlertSchema.
Declaration
public AlertSchema()
AlertSchema(Type)
Создать AlertSchema.
Declaration
public AlertSchema(Type messageType)
Parameters
Type | Name | Description |
---|---|---|
Type | messageType | Тип сообщения. |
Properties
AlertType
Alert type.
Declaration
public Nullable<AlertNotifications> AlertType { get; set; }
Property Value
Type | Description |
---|---|
Nullable<AlertNotifications> |
Caption
Signal header.
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
String |
Id
Identifier.
Declaration
public Guid Id { get; }
Property Value
Type | Description |
---|---|
Guid |
IsEnabled
Enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Message
Текст сигнала.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
String |
MessageType
Тип сообщения.
Declaration
public Type MessageType { get; }
Property Value
Type | Description |
---|---|
Type |
Rules
Rules.
Declaration
public IList<AlertRule> Rules { get; }
Property Value
Type | Description |
---|---|
IList<AlertRule> |
Methods
Load(SettingsStorage)
Загрузить настройки.
Declaration
public void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Save(SettingsStorage)
Сохранить настройки.
Declaration
public void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Implements
Ecng.Serialization.IPersistable