Class OptionsBaseModelDiagramElement<TModel>
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
Base class for options elements based on IBlackScholes model.
public abstract class OptionsBaseModelDiagramElement<TModel> : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable where TModel : class, IBlackScholes
Type Parameters
TModel
IBlackScholes implementation.
- Inheritance
-
OptionsBaseModelDiagramElement<TModel>
- Implements
-
INotifyPropertiesChangedIPersistable
- Derived
- Inherited Members
- Extension Methods
Constructors
OptionsBaseModelDiagramElement()
Initializes a new instance of the OptionsBaseModelDiagramElement<TModel>.
protected OptionsBaseModelDiagramElement()
Properties
Model
protected TModel Model { get; }
Property Value
- TModel
Methods
OnReseted()
The method is called at re-initialisation of the diagram element state.
protected override void OnReseted()
ProcessModel(DiagramSocketValue)
Process model socket.
protected virtual void ProcessModel(DiagramSocketValue value)
Parameters
ProcessModel(DateTimeOffset)
Model changed.
protected virtual void ProcessModel(DateTimeOffset time)
Parameters
time
DateTimeOffsetTime.