ConverterDiagramElement

StockSharp.Diagram.Elements

Composite value of a complex object receiving element.

Inherits: TypedDiagramElement<ConverterDiagramElement>

Constructors

ConverterDiagramElement
public ConverterDiagramElement()
converterDiagramElement = ConverterDiagramElement()

Initializes a new instance of the ConverterDiagramElement.

Properties

IconName
public override string IconName { get; }
value = converterDiagramElement.IconName

Icon resource name.

Property
public string Property { get; set; }
value = converterDiagramElement.Property
converterDiagramElement.Property = value

Property.

SourceIndicator
public Type SourceIndicator { get; }
value = converterDiagramElement.SourceIndicator

Get source indicator if any.

TypeId
public override Guid TypeId { get; }
value = converterDiagramElement.TypeId

The unique identifier of the diagram element type.

Methods

DisposeManaged
protected override void DisposeManaged()
converterDiagramElement.DisposeManaged()

Disposes the managed resources. Override this method to add custom clean up of managed resources.

OnInputSocketConnected
protected override void OnInputSocketConnected(DiagramSocket socket, DiagramSocket source)
converterDiagramElement.OnInputSocketConnected(socket, source)

The method is called when the input socket is connected.

socket
The diagram element socket.
source
The source diagram element socket.
OnInputSocketDisconnected
protected override void OnInputSocketDisconnected(DiagramSocket socket, DiagramSocket source)
converterDiagramElement.OnInputSocketDisconnected(socket, source)

The method is called when the input socket is disconnected.

socket
The diagram element socket.
source
The source diagram element socket.
OnLoading
protected override void OnLoading(SettingsStorage storage)
converterDiagramElement.OnLoading(storage)

Reads the state the parameters depend on; called before the parameters are loaded.

storage
Settings storage.
OnPrepare
protected override void OnPrepare()
converterDiagramElement.OnPrepare()

To prepare for starting the diagram element algorithm.

OnProcess
protected override void OnProcess(DiagramSocketValue value)
converterDiagramElement.OnProcess(value)

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

value
The processed value.
OnProcess
protected override void OnProcess(DateTime time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
converterDiagramElement.OnProcess(time, values, source)

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

time
Time.
values
Values.
source
Source value.
SaveState
protected override void SaveState(SettingsStorage storage)
converterDiagramElement.SaveState(storage)

Saves the state of the element other than its parameters.

storage
Settings storage.
TypeChanged
protected override void TypeChanged()
converterDiagramElement.TypeChanged()

The method is called when the data type is changed.