Table of Contents

Class SyncDiagramElement

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

The element used for grouping incoming values within a specified range.

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

Constructors

SyncDiagramElement()

Initializes a new instance of the SyncDiagramElement.

public SyncDiagramElement()

Properties

ClearSockets

Clear socket values.

public bool ClearSockets { get; set; }

Property Value

bool

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

Interval

Interval.

public TimeSpan Interval { get; set; }

Property Value

TimeSpan

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

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()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.