IExtendedInfoStorage

StockSharp.Algo.Storages

Extended info storage.

Свойства

Storages : IEnumerable<IExtendedInfoStorageItem>

Get all extended storages.

Методы

CreateAsync(string, IEnumerable<ValueTuple<string, Type>>, CancellationToken) : ValueTask<IExtendedInfoStorageItem>

To create storage.

storageName
Storage name.
fields
Extended fields (names and types).
cancellationToken
CancellationToken

Возвращает: Storage.

DeleteAsync(IExtendedInfoStorageItem, CancellationToken) : ValueTask

Delete storage.

storage
Storage.
cancellationToken
CancellationToken
GetAsync(string, CancellationToken) : ValueTask<IExtendedInfoStorageItem>

To get storage for the specified name.

storageName
Storage name.
cancellationToken
CancellationToken

Возвращает: Storage.

InitAsync(CancellationToken) : ValueTask<Dictionary<IExtendedInfoStorageItem, Exception>>

Initialize the storage.

Возвращает: Possible errors with storage names. Empty dictionary means initialization without any issues.

События

Created : Action<IExtendedInfoStorageItem>

The storage was created.

Deleted : Action<IExtendedInfoStorageItem>

The storage was deleted.