Class AlertRuleField
- Namespace
- StockSharp.Alerts
- Assembly
- StockSharp.Alerts.Interfaces.dll
Tracking field info.
public class AlertRuleField : Equatable<AlertRuleField>, IPersistable
- Inheritance
-
AlertRuleField
- Implements
-
IPersistable
- Extension Methods
Constructors
AlertRuleField()
Initializes a new instance of the AlertRuleField.
public AlertRuleField()
AlertRuleField(PropertyInfo, object)
Initializes a new instance of the AlertRuleField.
public AlertRuleField(PropertyInfo property, object extraField = null)
Parameters
property
PropertyInfoTracking property.
extraField
objectExtra info for Property.
AlertRuleField(string)
Initializes a new instance of the AlertRuleField.
public AlertRuleField(string displayName)
Parameters
displayName
stringDisplay name.
Properties
DisplayName
Display name.
public string DisplayName { get; }
Property Value
ExtraField
Extra info for Property.
public object ExtraField { get; }
Property Value
Property
Tracking property.
public PropertyInfo Property { get; }
Property Value
ValueType
Value type.
public Type ValueType { get; }
Property Value
Methods
Clone()
Create a copy of AlertRuleField.
public override AlertRuleField Clone()
Returns
- AlertRuleField
Copy.
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()
Returns
Invoke(Message)
Invoke field.
public object Invoke(Message message)
Parameters
message
MessageMessage.
Returns
- object
Value.
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnEquals(AlertRuleField)
Compare AlertRuleField on the equivalence.
protected override bool OnEquals(AlertRuleField other)
Parameters
other
AlertRuleFieldAnother value with which to compare.
Returns
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
ToString()
public override string ToString()