CompositionHelper

StockSharp.Diagram

Helpers.

Métodos

AddDiagramElement(Type)

Add DiagramElement type.

elemType
DiagramElement type.
AddDiagramElement``1()

Add DiagramElement type.

BreakOnly(IEnumerable<DiagramSocket>) : IEnumerable<DiagramSocket>

Filter the specified by the IsBreak.

sockets
All sockets.

Retorna: Break sockets.

ContinueAndWaitOnNext(DebuggerSyncObject)

To continue and stop at the next element.

syncObject
DebuggerSyncObject
FillDefault(ICompositionRegistry)

Fill DiagramElements by GetDiagramElements.

registry
ICompositionRegistry.
FindAllElements(CompositionDiagramElement) : IEnumerable<T>

Find all non CompositionDiagramElement elements.

FindAllElements``1(CompositionDiagramElement)

Find all non CompositionDiagramElement elements.

GetAllElementsSockets(CompositionDiagramElement) : IEnumerable<DiagramSocket>

Get all sockets from the specified CompositionDiagramElement.

composition
CompositionDiagramElement

Retorna: All sockets.

GetAllSockets(DiagramElement) : IEnumerable<DiagramSocket>

Get all sockets from the specified DiagramElement.

element
DiagramElement

Retorna: All sockets.

GetDiagramElements() : IEnumerable<DiagramElement>

Get all diagram elements.

Retorna: All diagram elements.

HasCode(CompositionDiagramElement) : bool

Check the specified CompositionDiagramElement contains code element.

composition
CompositionDiagramElement

Retorna: Check result.

HasCode(DiagramStrategy) : bool

Check the specified DiagramStrategy contains code element.

strategy
DiagramStrategy

Retorna: Check result.

IsFinal(DiagramSocketValue) : bool?

Determine the specified value is final.

value
DiagramSocketValue

Retorna: Operation result.

SelectedOnly(IEnumerable<DiagramSocket>) : IEnumerable<DiagramSocket>

Filter the specified by the IsSelected.

sockets
All sockets.

Retorna: Selected sockets.

ToDiagramType(Type) : DiagramSocketType

Find the DiagramSocketType by the specified Type.

type
Type.

Retorna: DiagramSocketType

TryGetElementById(CompositionDiagramElement, Guid, DiagramElement) : bool

Find the element by the specified identifier.

composition
CompositionDiagramElement
elementId
DiagramElement identifier.
element
Found DiagramElement.

Retorna: Operation result.

TryGetSocketById(CompositionDiagramElement, Guid, string, DiagramSocket) : bool

Find the socket by the specified identifiers.

composition
CompositionDiagramElement
elementId
DiagramElement identifier.
socketId
DiagramSocket identifier.
socket
Found socket.

Retorna: Operation result.