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.