Table of Contents

Class TimeDiagramElement

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

The element is used to provide current time.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Time", Description = "CurrentTimeElement", GroupName = "Time")]
public class TimeDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
TimeDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

TimeDiagramElement()

Initializes a new instance of the TimeDiagramElement.

public TimeDiagramElement()

Properties

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

Flush(DateTimeOffset)

Flush non trigger (root) elements.

public override void Flush(DateTimeOffset time)

Parameters

time DateTimeOffset

OnStart(DateTimeOffset)

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

protected override void OnStart(DateTimeOffset time)

Parameters

time DateTimeOffset