IExtendedInfoStorage
StockSharp.Algo.Storages
Extended info storage.
Propriedades
Storages : IEnumerable<IExtendedInfoStorageItem>
Get all extended storages.
Métodos
CreateAsync(string, IEnumerable<ValueTuple<string, Type>>, CancellationToken) : ValueTask<IExtendedInfoStorageItem>
To create storage.
- storageName
- Storage name.
- fields
- Extended fields (names and types).
- cancellationToken
- CancellationToken
Retorna: 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
Retorna: Storage.
InitAsync(CancellationToken) : ValueTask<Dictionary<IExtendedInfoStorageItem, Exception>>
Initialize the storage.
Retorna: Possible errors with storage names. Empty dictionary means initialization without any issues.
Eventos
Created : Action<IExtendedInfoStorageItem>
The storage was created.
Deleted : Action<IExtendedInfoStorageItem>
The storage was deleted.