INativeIdStorageProvider
StockSharp.Algo.Storages
Security native identifier storage provider.
Implements: IAsyncDisposable
Methods
GetStorage
public INativeIdStorage GetStorage(string storageName)
result = iNativeIdStorageProvider.GetStorage(storageName)
Get storage for a specific storage name.
- storageName
- Storage name.
Returns: Storage instance.
InitAsync
public ValueTask<Dictionary<string, Exception>> InitAsync(CancellationToken cancellationToken)
result = iNativeIdStorageProvider.InitAsync(cancellationToken)
Initialize the storage provider.
- cancellationToken
- CancellationToken
Returns: Possible errors with storage names. Empty dictionary means initialization without any issues.