CompositionDiagramElement
複合要素。
継承元: DiagramElement
コンストラクター
public CompositionDiagramElement(ICompositionModel model)
compositionDiagramElement = CompositionDiagramElement(model)
CompositionDiagramElement の新規インスタンスを初期化します。
- model
- 担当: 佐藤 宏
プロパティ
public string Category { get; set; }
value = compositionDiagramElement.Category
compositionDiagramElement.Category = value
図要素を含むグループの名前。
public override string DocUrl { get; set; }
value = compositionDiagramElement.DocUrl
compositionDiagramElement.DocUrl = value
ドキュメント url 。
public IEnumerable<DiagramElement> Elements { get; }
value = compositionDiagramElement.Elements
エレメント
public override bool HasUndoManager { get; }
value = compositionDiagramElement.HasUndoManager
undo 管理者が定義されているかどうかをチェック
public override string IconName { get; }
value = compositionDiagramElement.IconName
リソース名をアイコン化します。
public bool IsLoaded { get; set; }
value = compositionDiagramElement.IsLoaded
compositionDiagramElement.IsLoaded = value
複合図要素が読み込まれています。
public override bool IsUndoRedoing { get; }
value = compositionDiagramElement.IsUndoRedoing
未動・退動の進行状況でも
public Exception LastError { get; internal set; }
value = compositionDiagramElement.LastError
compositionDiagramElement.LastError = value
最後のエラー。
public DiagramElement LastErrorElement { get; internal set; }
value = compositionDiagramElement.LastErrorElement
compositionDiagramElement.LastErrorElement = value
最後のエラー要素。
public ICompositionModel Model { get; set; }
value = compositionDiagramElement.Model
compositionDiagramElement.Model = value
担当: 佐藤 宏
public override IEnumerable<IDiagramElementParam> Parameters { get; }
value = compositionDiagramElement.Parameters
計算された変数。
public int SchemaVersion { get; set; }
value = compositionDiagramElement.SchemaVersion
compositionDiagramElement.SchemaVersion = value
スキーマバージョン。
public override DiagramStrategy Strategy { get; set; }
value = compositionDiagramElement.Strategy
compositionDiagramElement.Strategy = value
要素が添付される戦略。
メソッド
public bool CanRedo()
result = compositionDiagramElement.CanRedo()
これをRedoと呼ぶことができるとき、この述語は真です。
戻り値: 結果をチェックする。
public bool CanUndo()
result = compositionDiagramElement.CanUndo()
誰がUndoを呼び出すことができるとき、この述語は本当です。
戻り値: 結果をチェックする。
public override DiagramElement Clone(bool cloneSockets)
result = compositionDiagramElement.Clone(cloneSockets)
コピーの作成CompositionDiagramElement
- cloneSockets
- 接続のコピーを作成する
戻り値: コピー
public IEnumerable<DiagramSocket> ConnectedToSockets(DiagramSocket socket)
result = compositionDiagramElement.ConnectedToSockets(socket)
接続しているソケットが他のソケットです。
- socket
- 担当: 佐藤 宏
戻り値: 接続されたソケット。
protected override DiagramSocket CreateSocketInstance(DiagramSocketDirection dir, string socketId)
result = compositionDiagramElement.CreateSocketInstance(dir, socketId)
新しいソケットインスタンスを作成します。
public IEnumerable<MarketDepthPanelDiagramElement> FindMarketDepthPanels()
result = compositionDiagramElement.FindMarketDepthPanels()
Find all MarketDepthPanelDiagramElement.
public IEnumerable<Portfolio> FindPortfolios()
result = compositionDiagramElement.FindPortfolios()
要素内のすべてのポートフォリオを検索します。
public override void Flush(DateTime time)
compositionDiagramElement.Flush(time)
フラッシュ非トリガー(root)要素。
public override string GetCategory()
result = compositionDiagramElement.GetCategory()
カテゴリを取得
戻り値: ジャンル
public override string GetDescription()
result = compositionDiagramElement.GetDescription()
説明。
戻り値: Description.
public override string GetDisplayName()
result = compositionDiagramElement.GetDisplayName()
ディスプレイ名。
戻り値: Name.
public override void Load(SettingsStorage storage)
compositionDiagramElement.Load(storage)
設定をロードします。
- storage
- 設定ストレージ。
protected override void OnPrepare()
compositionDiagramElement.OnPrepare()
ダイアグラム要素アルゴリズムの起動の準備
protected override void OnProcess(DateTime time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
compositionDiagramElement.OnProcess(time, values, source)
メソッドは、新しい着信値の処理で呼び出されます。
- time
- タイム。
- values
- 値。
- source
- ソース値。
protected override void OnReseted()
compositionDiagramElement.OnReseted()
リセットメソッドから呼び出されます。
protected override void OnSocketConnected(DiagramSocket socket, DiagramSocket source)
compositionDiagramElement.OnSocketConnected(socket, source)
メソッドは、図要素出力値の処理にサブスクリプションで呼び出されます。
- socket
- 図要素ソケット。
- source
- ソース図要素ソケット。
protected override void OnSocketDisconnected(DiagramSocket socket, DiagramSocket source)
compositionDiagramElement.OnSocketDisconnected(socket, source)
メソッドは、図要素出力値の処理からサブスクレーションで呼び出されます。
- socket
- 図要素ソケット。
- source
- ソース図要素ソケット。
protected override void OnStart(DateTime time)
compositionDiagramElement.OnStart(time)
メソッドは、図要素アルゴリズムの先頭で呼び出されます。
protected override void OnStop()
compositionDiagramElement.OnStop()
メソッドは、図要素アルゴリズムの停止時に呼び出されます。
protected override void OnUnInit()
compositionDiagramElement.OnUnInit()
メソッドは、図要素の決定を呼び出されます。
protected void RaiseElementAdded(DiagramElement element)
compositionDiagramElement.RaiseElementAdded(element)
代表取締役社長 佐藤 浩一
- element
- 担当: 佐藤 宏
protected void RaiseElementRemoved(DiagramElement element)
compositionDiagramElement.RaiseElementRemoved(element)
代表取締役社長 佐藤 浩一
- element
- 担当: 佐藤 宏
protected override void RaiseParameterValueChanged(string parameterName)
compositionDiagramElement.RaiseParameterValueChanged(parameterName)
To call the ParameterValueChanged event.
- parameterName
- 変数名。
protected void RaiseStrategyChanged()
compositionDiagramElement.RaiseStrategyChanged()
代表取締役社長 佐藤 浩一
public void ResumeUndoManager()
compositionDiagramElement.ResumeUndoManager()
モデルの undo/redo マネージャーを再開します。
public override void Save(SettingsStorage storage)
compositionDiagramElement.Save(storage)
設定を保存します。
- storage
- 設定ストレージ。
protected void SetTypeId(Guid typeId)
compositionDiagramElement.SetTypeId(typeId)
担当: 佐藤 宏
- typeId
- 担当: 佐藤 宏
public void SuspendUndoManager()
compositionDiagramElement.SuspendUndoManager()
モデルのundo/redoマネージャーをサスペンドします。
public void UpdateTypeId(Guid? id)
compositionDiagramElement.UpdateTypeId(id)
Update TypeId for composition elements.
- id
- 新規登録はTypeId.......
イベント
public event Action Changed
compositionDiagramElement.Changed += handler
複合要素図が変更イベントを変化させます。
public event Action<DiagramElement> ElementAdded
compositionDiagramElement.ElementAdded += handler
子要素を追加。
public event Action<DiagramElement> ElementRemoved
compositionDiagramElement.ElementRemoved += handler
子要素を削除しました。
public event Action StrategyChanged
compositionDiagramElement.StrategyChanged += handler
戦略が変更されたときにレイズ。