Table of Contents

Class PartDiagramElement

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 PartDiagramElement : TypedDiagramElement<PartDiagramElement>, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
PartDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

PartDiagramElement()

Initializes a new instance of the PartDiagramElement.

public PartDiagramElement()

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.

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.

OnStart(DateTimeOffset)

The method is called at the start of the diagram element algorithm.

protected override void OnStart(DateTimeOffset time)

Parameters

time DateTimeOffset

TypeChanged()

The method is called when the data type is changed.

protected override void TypeChanged()