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.

Load
public override void Load(SettingsStorage storage)
converterDiagramElement.Load(storage)

Loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
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.
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.
Save
public override void Save(SettingsStorage storage)
converterDiagramElement.Save(storage)

Saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
TypeChanged
protected override void TypeChanged()
converterDiagramElement.TypeChanged()

The method is called when the data type is changed.