Class BaseStrategyDiagramElement
Элемент, использующий стратегию, написанную на S#. API.
Inheritance
BaseStrategyDiagramElement
Implements
Ecng.Serialization.IPersistable
Ecng.ComponentModel.INotifyPropertiesChanged
Inherited Members
Namespace: StockSharp.Xaml.Diagram.Elements
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
public abstract class BaseStrategyDiagramElement : DiagramElement, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged
Constructors
BaseStrategyDiagramElement()
Создать BaseStrategyDiagramElement.
Declaration
protected BaseStrategyDiagramElement()
Properties
Instance
Экземляр.
Declaration
protected IPersistable Instance { get; set; }
Property Value
Type | Description |
---|---|
Ecng.Serialization.IPersistable |
Painter
Тип рендерера для расширенной отрисовки индикатора.
Declaration
public Type Painter { get; }
Property Value
Type | Description |
---|---|
Type |
ShowStrategySocket
Show strategy socket.
Declaration
public bool ShowStrategySocket { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
IsTypeCompatible(Type)
Совместим ли тип.
Declaration
public static bool IsTypeCompatible(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type. |
Returns
Type | Description |
---|---|
Boolean | Результат проверки. |
Load(SettingsStorage)
Загрузить настройки.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
OnReseted()
Метод вызывается при переинициализации состояния элемента схемы.
Declaration
protected override void OnReseted()
Overrides
OnStart()
Метод вызывается при запуске алгоритма элемента схемы.
Declaration
protected override void OnStart()
Overrides
OnStop()
Метод вызывается при остановке алгоритма элемента схемы.
Declaration
protected override void OnStop()
Overrides
RemoveExternalSockets()
Удалить внешние сокеты.
Declaration
protected void RemoveExternalSockets()
Save(SettingsStorage)
Сохранить настройки.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
Implements
Ecng.Serialization.IPersistable
Ecng.ComponentModel.INotifyPropertiesChanged