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
-
INotifyPropertiesChangedIPersistable
- 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
TypeId
The unique identifier of the diagram element type.
public override Guid TypeId { get; }
Property Value
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