CompositionHelper
StockSharp.Diagram
ヘルパー
メソッド
AddDiagramElement
public static void AddDiagramElement(Type elemType)
CompositionHelper.AddDiagramElement(elemType)
エントリーフォームDiagramElement@
- elemType
- 担当: 佐藤 浩一
AddDiagramElement``1
public static void AddDiagramElement<T>()
CompositionHelper.AddDiagramElement()
エントリーフォームDiagramElement@
BreakOnly
public static IEnumerable<DiagramSocket> BreakOnly(IEnumerable<DiagramSocket> sockets)
result = CompositionHelper.BreakOnly(sockets)
指定したフィルタをIsBreakにフィルタリングします。
- sockets
- すべてのソケット。
戻り値: ソケットを壊して下さい。
ContinueAndWaitOnNext
public static void ContinueAndWaitOnNext(DebuggerSyncObject syncObject)
CompositionHelper.ContinueAndWaitOnNext(syncObject)
次の要素を継続して停止します。
- syncObject
- 担当: 佐藤 宏
FillDefault
public static void FillDefault(ICompositionRegistry registry)
CompositionHelper.FillDefault(registry)
担当: 佐藤 宏
- registry
- 代表取締役社長 佐藤 浩
FindAllElements
public static IEnumerable<DiagramElement> FindAllElements(CompositionDiagramElement composition)
result = CompositionHelper.FindAllElements(composition)
要素のCompositionDiagramElement@以外の要素をすべて見つけてください。
FindAllElements``1
public static IEnumerable<T> FindAllElements<T>(CompositionDiagramElement composition)
result = CompositionHelper.FindAllElements(composition)
要素のCompositionDiagramElement@以外の要素をすべて見つけてください。
FindById
public static DiagramSocket FindById(IEnumerable<DiagramSocket> sockets, string id)
result = CompositionHelper.FindById(sockets, id)
- sockets
- id
GetAllElementsSockets
public static IEnumerable<DiagramSocket> GetAllElementsSockets(CompositionDiagramElement composition)
result = CompositionHelper.GetAllElementsSockets(composition)
指定したCompositionDiagramElement@から全てのソケットを取得します。
- composition
- 担当: 佐藤 宏
戻り値: すべてのソケット。
GetAllSockets
public static IEnumerable<DiagramSocket> GetAllSockets(DiagramElement element)
result = CompositionHelper.GetAllSockets(element)
指定したDiagramElement@から全てのソケットを取得します。
- element
- 担当: 佐藤 宏
戻り値: すべてのソケット。
GetDiagramElements
public static IEnumerable<DiagramElement> GetDiagramElements()
result = CompositionHelper.GetDiagramElements()
すべての図要素を取得します。
戻り値: すべての図要素。
GetFromSocket``2
public static DiagramSocket GetFromSocket<TNode, TLink>(ICompositionModelLink link, ICompositionModelBehavior<TNode, TLink> behavior)
result = CompositionHelper.GetFromSocket(link, behavior)
指定したリンクのソケットから入手してください。
- link
- 担当: 佐藤 宏
- behavior
- 担当: 佐藤 宏
戻り値: 担当: 佐藤 宏
GetToSocket``2
public static DiagramSocket GetToSocket<TNode, TLink>(ICompositionModelLink link, ICompositionModelBehavior<TNode, TLink> behavior)
result = CompositionHelper.GetToSocket(link, behavior)
指定したリンクのソケットへ。
- link
- 担当: 佐藤 宏
- behavior
- 担当: 佐藤 宏
戻り値: 担当: 佐藤 宏
HasCode
public static bool HasCode(CompositionDiagramElement composition)
result = CompositionHelper.HasCode(composition)
指定したCompositionDiagramElementにコード要素が含まれていることを確認してください。
- composition
- 担当: 佐藤 宏
戻り値: 結果をチェックする。
HasCode
public static bool HasCode(DiagramStrategy strategy)
result = CompositionHelper.HasCode(strategy)
指定したDiagramStrategyにコード要素が含まれていることを確認してください。
- strategy
- 担当: 佐藤 宏
戻り値: 結果をチェックする。
IsEditable
public static bool IsEditable(DiagramSocketType type)
result = CompositionHelper.IsEditable(type)
- type
IsFinal
public static bool? IsFinal(DiagramSocketValue value)
result = CompositionHelper.IsFinal(value)
指定した値が最終値であることを決定します。
- value
- 担当: 佐藤 宏
戻り値: 動作結果。
SelectedOnly
public static IEnumerable<DiagramSocket> SelectedOnly(IEnumerable<DiagramSocket> sockets)
result = CompositionHelper.SelectedOnly(sockets)
指定したフィルタをIsSelected@にフィルタリングします。
- sockets
- すべてのソケット。
戻り値: 選択されたソケット。
ToDiagramType
public static DiagramSocketType ToDiagramType(Type type)
result = CompositionHelper.ToDiagramType(type)
指定したタイプでDiagramSocketType@を検索します。
- type
- 種類。
戻り値: 担当: 佐藤 宏
TryGetElementById
public static bool TryGetElementById(CompositionDiagramElement composition, Guid elementId, DiagramElement element)
result = CompositionHelper.TryGetElementById(composition, elementId, element)
指定した識別子で要素を検索します。
- composition
- 担当: 佐藤 宏
- elementId
- DiagramElement識別子。
- element
- 代表取締役社長 佐藤 浩一
戻り値: 動作結果。
TryGetSocketById
public static bool TryGetSocketById(CompositionDiagramElement composition, Guid elementId, string socketId, DiagramSocket socket)
result = CompositionHelper.TryGetSocketById(composition, elementId, socketId, socket)
指定した識別子でソケットを見つけます。
- composition
- 担当: 佐藤 宏
- elementId
- DiagramElement識別子。
- socketId
- DiagramSocket識別子。
- socket
- 発見されたソケット。
戻り値: 動作結果。