Table of Contents

Class ConverterDiagramElement

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

Composite value of a complex object receiving element.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Converter", Description = "ConverterDescription", GroupName = "Common")]
public class ConverterDiagramElement : TypedDiagramElement<ConverterDiagramElement>, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
ConverterDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

ConverterDiagramElement()

Initializes a new instance of the ConverterDiagramElement.

public ConverterDiagramElement()

Properties

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

Property

Property.

public string Property { get; set; }

Property Value

string

SourceIndicator

Get source indicator if any.

public IIndicator SourceIndicator { get; }

Property Value

IIndicator

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

OnInputSocketConnected(DiagramSocket, DiagramSocket)

The method is called when the input socket is connected.

protected override void OnInputSocketConnected(DiagramSocket socket, DiagramSocket source)

Parameters

socket DiagramSocket

The diagram element socket.

source DiagramSocket

The source diagram element socket.

OnInputSocketDisconnected(DiagramSocket, DiagramSocket)

The method is called when the input socket is disconnected.

protected override void OnInputSocketDisconnected(DiagramSocket socket, DiagramSocket source)

Parameters

socket DiagramSocket

The diagram element socket.

source DiagramSocket

The source diagram element socket.

OnPrepare()

To prepare for starting the diagram element algorithm.

protected override void OnPrepare()

OnProcess(DiagramSocketValue)

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

protected override void OnProcess(DiagramSocketValue value)

Parameters

value DiagramSocketValue

The processed value.

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.

TypeChanged()

The method is called when the data type is changed.

protected override void TypeChanged()