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
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
ICompositionRegistrystorage
SettingsStorageSettings storage.
getPassword
Func<SecureString>Get password handler.
Returns
Deserialize(ICompositionRegistry, byte[], Func<SecureString>)
To deserialize the composite element.
public static CompositionDiagramElement Deserialize(this ICompositionRegistry registry, byte[] data, Func<SecureString> getPassword)
Parameters
registry
ICompositionRegistrydata
byte[]Byte array.
getPassword
Func<SecureString>Get password handler.
Returns
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
ICompositionRegistryelement
CompositionDiagramElementschemeType
SchemeTypes?Scheme type.
includeCoordinates
boolInclude coordinates.
password
SecureStringPassword.
Returns
- SettingsStorage
Settings storage.