Table of Contents

Class LogicalConditionDiagramElement

Namespace
StockSharp.Diagram.Elements
Assembly
StockSharp.Diagram.Core.dll

Logical condition element.

[Display(ResourceType = typeof(LocalizedStrings), Name = "LogicalCondition", Description = "LogicalConditionElementDescription", GroupName = "Common")]
public class LogicalConditionDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
LogicalConditionDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

LogicalConditionDiagramElement()

Initializes a new instance of the LogicalConditionDiagramElement.

public LogicalConditionDiagramElement()

Properties

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

Operator

Operator.

public LogicalConditionDiagramElement.Condition? Operator { get; set; }

Property Value

LogicalConditionDiagramElement.Condition?

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)

The method is called at the processing of the new incoming values.

protected override void OnProcess(DateTimeOffset time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)

Parameters

time DateTimeOffset

Time.

values IDictionary<DiagramSocket, DiagramSocketValue>

Values.

source DiagramSocketValue

Source value.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.