AlertSchema
StockSharp.Alerts
Schema.
Implements: IPersistable
Constructors
AlertSchema
public AlertSchema()
alertSchema = AlertSchema()
Initializes a new instance of the AlertSchema.
AlertSchema
public AlertSchema(Type messageType)
alertSchema = AlertSchema(messageType)
Initializes a new instance of the AlertSchema.
- messageType
- Message type.
Properties
AlertType
public AlertNotifications? AlertType { get; set; }
value = alertSchema.AlertType
alertSchema.AlertType = value
Alert type.
Caption
public string Caption { get; set; }
value = alertSchema.Caption
alertSchema.Caption = value
Signal header.
ExternalId
public long? ExternalId { get; set; }
value = alertSchema.ExternalId
alertSchema.ExternalId = value
External ID.
IsEnabled
public bool IsEnabled { get; set; }
value = alertSchema.IsEnabled
alertSchema.IsEnabled = value
Enabled.
LogLevel
public LogLevels LogLevel { get; set; }
value = alertSchema.LogLevel
alertSchema.LogLevel = value
LogLevels
Message
public string Message { get; set; }
value = alertSchema.Message
alertSchema.Message = value
Alert text.
MessageType
public Type MessageType { get; private set; }
value = alertSchema.MessageType
alertSchema.MessageType = value
Message type.
Methods
Load
public void Load(SettingsStorage storage)
alertSchema.Load(storage)
Load settings.
- storage
- Settings storage.
Save
public void Save(SettingsStorage storage)
alertSchema.Save(storage)
Save settings.
- storage
- Settings storage.