Table of Contents

Class SubscriptionDiagramElement

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

The diagram element which supports subscription to market data.

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

Constructors

SubscriptionDiagramElement(string)

Initializes a new instance of the SubscriptionDiagramElement.

protected SubscriptionDiagramElement(string subscriptionCategory)

Parameters

subscriptionCategory string

The category of the diagram element parameter.

Properties

IsManuallySubscription

Subscribe on signal.

public bool IsManuallySubscription { get; set; }

Property Value

bool

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnCreateSubscription(Security)

The method is called at the subscribing to market data.

protected abstract Subscription OnCreateSubscription(Security security)

Parameters

security Security

Security

Returns

Subscription

Subscription.

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