MathDiagramElement

StockSharp.Diagram.Elements

2つの引数要素を持つ式。

継承元: DiagramElement

コンストラクター

MathDiagramElement
public MathDiagramElement()
mathDiagramElement = MathDiagramElement()

MathDiagramElement の新規インスタンスを初期化します。

プロパティ

Expression
public string Expression { get; set; }
value = mathDiagramElement.Expression
mathDiagramElement.Expression = value

エクスプレス。

IconName
public override string IconName { get; }
value = mathDiagramElement.IconName

リソース名をアイコン化します。

TypeId
public override Guid TypeId { get; }
value = mathDiagramElement.TypeId

id をタイプして下さい。

Validation
public string Validation { get; set; }
value = mathDiagramElement.Validation
mathDiagramElement.Validation = value

検証。

メソッド

DisposeManaged
protected override void DisposeManaged()
mathDiagramElement.DisposeManaged()

Disposes the managed resources. Override this method to add custom clean up of managed resources.

OnPrepareAsync
protected override ValueTask OnPrepareAsync(CancellationToken cancellationToken)
result = mathDiagramElement.OnPrepareAsync(cancellationToken)

Resolves what the element needs from asynchronous sources (securities, underlying assets, derivatives) before the start, so that value processing stays synchronous. Called after OnPrepare.

cancellationToken
Cancellation token.

戻り値: ValueTask

OnProcess
protected override void OnProcess(DateTime time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
mathDiagramElement.OnProcess(time, values, source)

メソッドは、新しい着信値の処理で呼び出されます。

time
タイム。
values
値。
source
ソース値。
OnReseted
protected override void OnReseted()
mathDiagramElement.OnReseted()

リセットメソッドから呼び出されます。