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
-
INotifyPropertiesChangedIPersistable
- 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
Methods
Get()
Get DiagramExternalElement instance.
protected abstract DiagramExternalElement Get()
Returns
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)