Table of Contents

Class BaseExternalDiagramElement

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

The element which is using DiagramExternalElement.

public abstract class BaseExternalDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
BaseExternalDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

BaseExternalDiagramElement()

Initializes a new instance of the BaseExternalDiagramElement.

protected BaseExternalDiagramElement()

Properties

IsExternalCode

Is the element contains external code.

public override bool IsExternalCode { get; }

Property Value

bool

Methods

Get()

Get DiagramExternalElement instance.

protected abstract DiagramExternalElement Get()

Returns

DiagramExternalElement

DiagramExternalElement

OnPrepare()

To prepare for starting the diagram element algorithm.

protected override void OnPrepare()

OnReseted()

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

protected override void OnReseted()

OnStart(DateTimeOffset)

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

protected override void OnStart(DateTimeOffset time)

Parameters

time DateTimeOffset

OnStop()

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

protected override void OnStop()

UpdateSockets(DiagramExternalElement)

Update sockets.

protected void UpdateSockets(DiagramExternalElement instance)

Parameters

instance DiagramExternalElement

DiagramExternalElement