BaseExternalDiagramElement

StockSharp.Diagram.Elements

The element which is using DiagramExternalElement.

Inherits: DiagramElement

Constructors

BaseExternalDiagramElement
protected BaseExternalDiagramElement()
baseExternalDiagramElement = BaseExternalDiagramElement()

Initializes a new instance of the BaseExternalDiagramElement.

Properties

IsExternalCode
public override bool IsExternalCode { get; }
value = baseExternalDiagramElement.IsExternalCode

Is the element contains external code.

Methods

Get
protected abstract DiagramExternalElement Get()
result = baseExternalDiagramElement.Get()

Get DiagramExternalElement instance.

Returns: DiagramExternalElement

OnPrepare
protected override void OnPrepare()
baseExternalDiagramElement.OnPrepare()

To prepare for starting the diagram element algorithm.

OnReseted
protected override void OnReseted()
baseExternalDiagramElement.OnReseted()

The method is called at re-initialisation of the diagram element state.

OnStart
protected override void OnStart(DateTime time)
baseExternalDiagramElement.OnStart(time)

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

OnStop
protected override void OnStop()
baseExternalDiagramElement.OnStop()

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

UpdateSockets
protected void UpdateSockets(Type type, IEnumerable<IDiagramElementParam> parameters)
baseExternalDiagramElement.UpdateSockets(type, parameters)

Update sockets.

type
Element type.
parameters
Parameters