Table of Contents

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 PropertyInfo

Tracking property.

extraField object

Extra info for Property.

AlertRuleField(string)

Initializes a new instance of the AlertRuleField.

public AlertRuleField(string displayName)

Parameters

displayName string

Display name.

Properties

DisplayName

Display name.

public string DisplayName { get; }

Property Value

string

ExtraField

Extra info for Property.

public object ExtraField { get; }

Property Value

object

Property

Tracking property.

public PropertyInfo Property { get; }

Property Value

PropertyInfo

ValueType

Value type.

public Type ValueType { get; }

Property Value

Type

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

int

A hash code for the current object.

Invoke(Message)

Invoke field.

public object Invoke(Message message)

Parameters

message Message

Message.

Returns

object

Value.

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnEquals(AlertRuleField)

Compare AlertRuleField on the equivalence.

protected override bool OnEquals(AlertRuleField other)

Parameters

other AlertRuleField

Another value with which to compare.

Returns

bool

true, if the specified object is equal to the current object, otherwise, false.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string