ICompositionRegistry

StockSharp.Diagram

The storage of composite elements.

Properties

DiagramElements
public INotifyList<DiagramElement> DiagramElements { get; }
value = iCompositionRegistry.DiagramElements

List of elements.

Methods

CreateComposition
public CompositionDiagramElement CreateComposition()
result = iCompositionRegistry.CreateComposition()

Create CompositionDiagramElement instance.

Returns: CompositionDiagramElement

Deserialize
public bool Deserialize(CompositionDiagramElement element, SettingsStorage storage, Func<SecureString> getPassword)
result = iCompositionRegistry.Deserialize(element, storage, getPassword)

To deserialize the composite element.

element
CompositionDiagramElement
storage
Settings storage.
getPassword
Get password handler.

Returns: Is encryption used.

Serialize
public void Serialize(CompositionDiagramElement element, SettingsStorage storage, bool includeCoordinates, SecureString password)
iCompositionRegistry.Serialize(element, storage, includeCoordinates, password)

To serialize the composite element.

element
CompositionDiagramElement
storage
Settings storage.
includeCoordinates
Include coordinates.
password
Password.

Returns: Settings storage.