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
- Derived
- Inherited Members
- Extension Methods
Constructors
SubscriptionDiagramElement(string)
Initializes a new instance of the SubscriptionDiagramElement.
protected SubscriptionDiagramElement(string subscriptionCategory)
Parameters
subscriptionCategorystringThe category of the diagram element parameter.
Properties
IsManuallySubscription
Subscribe on signal.
public bool IsManuallySubscription { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
OnCreateSubscription(Security)
The method is called at the subscribing to market data.
protected abstract Subscription OnCreateSubscription(Security security)
Parameters
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
timeDateTimeOffset
OnStop()
The method is called at the stop of the diagram element algorithm.
protected override void OnStop()