Class AlertRule
Rule.
Implements
Ecng.Serialization.IPersistable
Namespace: StockSharp.Alerts
Assembly: StockSharp.Alerts.dll
Syntax
public class AlertRule : Object, IPersistable
Constructors
AlertRule()
Initializes a new instance of the AlertRule.
Declaration
public AlertRule()
Properties
Field
Message property, which will be made a comparison with the value of Value based on the criterion Operator.
Declaration
public AlertRuleField Field { get; set; }
Property Value
Type | Description |
---|---|
AlertRuleField |
Operator
The criterion of comparison values Value.
Declaration
public ComparisonOperator Operator { get; set; }
Property Value
Type | Description |
---|---|
Ecng.ComponentModel.ComparisonOperator |
Value
Comparison value.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
Object |
Methods
Load(SettingsStorage)
Load settings.
Declaration
public void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Save(SettingsStorage)
Save settings.
Declaration
public void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Implements
Ecng.Serialization.IPersistable