AlertRuleField

StockSharp.Alerts

Tracking field info.

Inherits: Equatable<AlertRuleField>

Implements: IPersistable

Constructors

AlertRuleField
public AlertRuleField()
alertRuleField = AlertRuleField()

Initializes a new instance of the AlertRuleField.

AlertRuleField
public AlertRuleField(PropertyInfo property, object extraField)
alertRuleField = AlertRuleField(property, extraField)

Initializes a new instance of the AlertRuleField.

property
Tracking property.
extraField
Extra info for Property.
AlertRuleField
public AlertRuleField(string displayName)
alertRuleField = AlertRuleField(displayName)

Initializes a new instance of the AlertRuleField.

displayName
Display name.

Properties

DisplayName
public string DisplayName { get; private set; }
value = alertRuleField.DisplayName
alertRuleField.DisplayName = value

Display name.

ExtraField
public object ExtraField { get; private set; }
value = alertRuleField.ExtraField
alertRuleField.ExtraField = value

Extra info for Property.

Property
public PropertyInfo Property { get; private set; }
value = alertRuleField.Property
alertRuleField.Property = value

Tracking property.

ValueType
public Type ValueType { get; private set; }
value = alertRuleField.ValueType
alertRuleField.ValueType = value

Value type.

Methods

Clone
public override AlertRuleField Clone()
result = alertRuleField.Clone()

Create a copy of AlertRuleField.

Returns: Copy.

GetHashCode
public override int GetHashCode()
result = alertRuleField.GetHashCode()

Serves as a hash function for a particular type.

Returns: A hash code for the current Object.

Invoke
public object Invoke(Message message)
result = alertRuleField.Invoke(message)

Invoke field.

message
Message.

Returns: Value.

Load
public void Load(SettingsStorage storage)
alertRuleField.Load(storage)

Load settings.

storage
Settings storage.
OnEquals
protected override bool OnEquals(AlertRuleField other)
result = alertRuleField.OnEquals(other)

Compare AlertRuleField on the equivalence.

other
Another value with which to compare.

Returns: , if the specified object is equal to the current object, otherwise, .

Save
public void Save(SettingsStorage storage)
alertRuleField.Save(storage)

Save settings.

storage
Settings storage.
ToString
public override string ToString()
result = alertRuleField.ToString()

Преобразовать к строковому представлению.

Returns: Строковое представление.