Table of Contents

Interface ICompositionRegistry

Namespace
StockSharp.Diagram
Assembly
StockSharp.Diagram.Core.dll

The storage of composite elements.

public interface ICompositionRegistry
Extension Methods

Properties

DiagramElements

List of elements.

INotifyList<DiagramElement> DiagramElements { get; }

Property Value

INotifyList<DiagramElement>

Methods

CreateComposition()

Create CompositionDiagramElement instance.

CompositionDiagramElement CreateComposition()

Returns

CompositionDiagramElement

CompositionDiagramElement

Deserialize(CompositionDiagramElement, SettingsStorage, Func<SecureString>)

To deserialize the composite element.

void Deserialize(CompositionDiagramElement element, SettingsStorage storage, Func<SecureString> getPassword)

Parameters

element CompositionDiagramElement

CompositionDiagramElement

storage SettingsStorage

Settings storage.

getPassword Func<SecureString>

Get password handler.

Serialize(CompositionDiagramElement, SettingsStorage, SchemeTypes, bool, SecureString)

To serialize the composite element.

void Serialize(CompositionDiagramElement element, SettingsStorage storage, SchemeTypes schemeType, bool includeCoordinates, SecureString password)

Parameters

element CompositionDiagramElement

CompositionDiagramElement

storage SettingsStorage

Settings storage.

schemeType SchemeTypes

Scheme type.

includeCoordinates bool

Include coordinates.

password SecureString

Password.