Table of Contents

Class ICompositionRegistryExtensions

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

ICompositionRegistry extension methods.

public static class ICompositionRegistryExtensions
Inheritance
ICompositionRegistryExtensions
Inherited Members

Properties

NotSupported

Not supported password handler.

public static Func<SecureString> NotSupported { get; }

Property Value

Func<SecureString>

Methods

Deserialize(ICompositionRegistry, SettingsStorage, Func<SecureString>)

To deserialize the composite element.

public static CompositionDiagramElement Deserialize(this ICompositionRegistry registry, SettingsStorage storage, Func<SecureString> getPassword)

Parameters

registry ICompositionRegistry

ICompositionRegistry

storage SettingsStorage

Settings storage.

getPassword Func<SecureString>

Get password handler.

Returns

CompositionDiagramElement

CompositionDiagramElement

Deserialize(ICompositionRegistry, byte[], Func<SecureString>)

To deserialize the composite element.

public static CompositionDiagramElement Deserialize(this ICompositionRegistry registry, byte[] data, Func<SecureString> getPassword)

Parameters

registry ICompositionRegistry

ICompositionRegistry

data byte[]

Byte array.

getPassword Func<SecureString>

Get password handler.

Returns

CompositionDiagramElement

CompositionDiagramElement

Serialize(ICompositionRegistry, CompositionDiagramElement, SchemeTypes?, bool, SecureString)

To serialize the composite element.

public static SettingsStorage Serialize(this ICompositionRegistry registry, CompositionDiagramElement element, SchemeTypes? schemeType = null, bool includeCoordinates = true, SecureString password = null)

Parameters

registry ICompositionRegistry

ICompositionRegistry

element CompositionDiagramElement

CompositionDiagramElement

schemeType SchemeTypes?

Scheme type.

includeCoordinates bool

Include coordinates.

password SecureString

Password.

Returns

SettingsStorage

Settings storage.