Class AlertSchema
- Namespace
- StockSharp.Alerts
- Assembly
- StockSharp.Alerts.Interfaces.dll
Schema.
public class AlertSchema : IPersistable
- Inheritance
-
AlertSchema
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
AlertSchema()
Initializes a new instance of the AlertSchema.
public AlertSchema()
AlertSchema(Type)
Initializes a new instance of the AlertSchema.
public AlertSchema(Type messageType)
Parameters
messageType
TypeMessage type.
Properties
AlertType
Alert type.
public AlertNotifications? AlertType { get; set; }
Property Value
Caption
Signal header.
public string Caption { get; set; }
Property Value
ExternalId
External ID.
public long? ExternalId { get; set; }
Property Value
- long?
Id
Identifier.
public Guid Id { get; }
Property Value
IsEnabled
Enabled.
public bool IsEnabled { get; set; }
Property Value
Message
Alert text.
public string Message { get; set; }
Property Value
MessageType
Message type.
public Type MessageType { get; }
Property Value
Rules
Rules.
public IList<AlertRule> Rules { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.