Show / Hide Table of Contents

Class BaseStrategyDiagramElement

Элемент, использующий стратегию, написанную на S#. API.

Inheritance
Object
BaseLogSource
BaseLogReceiver
DiagramElement
BaseStrategyDiagramElement
StrategyDiagramElement
Implements
Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
IDisposable
INotifyPropertyChanging
INotifyPropertyChanged
ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged
Inherited Members
DiagramElement.ProcessDoubleClick(Object)
DiagramElement.SetElementName(String)
DiagramElement.AddParam<T>(String, T)
DiagramElement.AddParam(IDiagramElementParam)
DiagramElement.RemoveParam(IDiagramElementParam)
DiagramElement.CreateSocketInstance(DiagramSocketDirection, String)
DiagramElement.GetOrAddInput(String, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddInput(StaticSocketIds, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(StaticSocketIds, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(String, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddInput(StaticSocketIds, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddInput(String, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddOutput(StaticSocketIds, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddOutput(String, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.RemoveSocket(String)
DiagramElement.RemoveSocket(DiagramSocket)
DiagramElement.RemoveSockets(Boolean)
DiagramElement.RemoveSockets(Func<DiagramSocket, Boolean>, Boolean)
DiagramElement.OnSocketConnected(DiagramSocket, DiagramSocket)
DiagramElement.OnSocketDisconnected(DiagramSocket, DiagramSocket)
DiagramElement.RaiseSocketChanged(DiagramSocket)
DiagramElement.RaiseProcessOutput(DiagramSocket, DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(Object, DiagramSocketValue, Subscription)
DiagramElement.Flush()
DiagramElement.Init(ILogSource)
DiagramElement.UnInit()
DiagramElement.OnInit()
DiagramElement.OnUnInit()
DiagramElement.Process(DiagramSocketValue)
DiagramElement.GetNumConnections(DiagramSocket)
DiagramElement.GetConnectedSourceSockets(DiagramSocket)
DiagramElement.OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
DiagramElement.Start()
DiagramElement.Stop()
DiagramElement.Reset()
DiagramElement.ClearSocketValues()
DiagramElement.RaisePropertyChanging(String)
DiagramElement.RaisePropertyChanging(Object, PropertyChangingEventArgs)
DiagramElement.RaisePropertyChanged(String)
DiagramElement.RaisePropertyChanged(Object, PropertyChangedEventArgs)
DiagramElement.RaiseParameterValueChanged(String)
DiagramElement.Clone(Boolean)
DiagramElement.RaisePropertiesChanged()
DiagramElement.SaveUndoState(Object)
DiagramElement.TypeId
DiagramElement.InputSockets
DiagramElement.OutputSockets
DiagramElement.ParentComposition
DiagramElement.IsUndoRedoing
DiagramElement.HasUndoManager
DiagramElement.Parameters
DiagramElement.Category
DiagramElement.CanAutoName
DiagramElement.Name
DiagramElement.Description
DiagramElement.LogLevel
DiagramElement.ShowParameters
DiagramElement.ShowSockets
DiagramElement.ProcessNullValues
DiagramElement.Icon
DiagramElement.IconName
DiagramElement.Strategy
DiagramElement.Connector
DiagramElement.DebuggerSyncObject
DiagramElement.NeedFlush
DiagramElement.ProcessingLevel
DiagramElement.ProcessOutput
DiagramElement.SocketAdded
DiagramElement.SocketRemoved
DiagramElement.SocketChanged
DiagramElement.StartedUndoableOperation
DiagramElement.CommittedUndoableOperation
DiagramElement.PropertyChanging
DiagramElement.PropertyChanged
DiagramElement.ParameterValueChanged
DiagramElement.PropertiesChanged
BaseLogReceiver.ILogReceiver.AddLog(LogMessage)
BaseLogSource.RaiseLog(LogMessage)
BaseLogSource.ToString()
BaseLogSource.Id
BaseLogSource.Parent
BaseLogSource.CurrentTime
BaseLogSource.IsRoot
BaseLogSource.ParentRemoved
BaseLogSource.Log
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
DiagramElement.Load(SettingsStorage)

OnReseted()

Метод вызывается при переинициализации состояния элемента схемы.

Declaration
protected override void OnReseted()
Overrides
DiagramElement.OnReseted()

OnStart()

Метод вызывается при запуске алгоритма элемента схемы.

Declaration
protected override void OnStart()
Overrides
DiagramElement.OnStart()

OnStop()

Метод вызывается при остановке алгоритма элемента схемы.

Declaration
protected override void OnStop()
Overrides
DiagramElement.OnStop()

RemoveExternalSockets()

Удалить внешние сокеты.

Declaration
protected void RemoveExternalSockets()

Save(SettingsStorage)

Сохранить настройки.

Declaration
public override void Save(SettingsStorage storage)
Parameters
Type Name Description
Ecng.Serialization.SettingsStorage storage

Хранилище настроек.

Overrides
DiagramElement.Save(SettingsStorage)

Implements

Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
System.IDisposable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
StudioHelper.GetId(DiagramElement, CompositionType)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾