ICompositionRegistry

StockSharp.Diagram

Хранение составных элементов.

Свойства

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

Список элементов.

Методы

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

Создайте экземпляр CompositionDiagramElement.

Возвращает: CompositionDiagramElement

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

Десериализовать составной элемент.

element
CompositionDiagramElement
storage
Хранилище настроек.
getPassword
Получить обработчик паролей.

Возвращает: Используется ли шифрование.

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

Сериализация составного элемента.

element
CompositionDiagramElement
storage
Хранилище настроек.
includeCoordinates
Включите координаты.
password
Пароль.

Возвращает: Хранилище настроек.