Class AlertRuleField
- Namespace
- StockSharp.Alerts
- Assembly
- StockSharp.Alerts.Interfaces.dll
Tracking field info.
public class AlertRuleField : Equatable<AlertRuleField>, ICloneable<AlertRuleField>, ICloneable, IEquatable<AlertRuleField>, IComparable<AlertRuleField>, IComparable, IPersistable
- Inheritance
-
AlertRuleField
- Implements
- Inherited Members
- 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
propertyPropertyInfoTracking property.
extraFieldobjectExtra info for Property.
AlertRuleField(string)
Initializes a new instance of the AlertRuleField.
public AlertRuleField(string displayName)
Parameters
displayNamestringDisplay 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
messageMessageMessage.
Returns
- object
Value.
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
OnEquals(AlertRuleField)
Compare AlertRuleField on the equivalence.
protected override bool OnEquals(AlertRuleField other)
Parameters
otherAlertRuleFieldAnother value with which to compare.
Returns
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
ToString()
public override string ToString()