CsvNativeIdStorageProvider
StockSharp.Algo.Storages
CSV security native identifier storage provider.
Inherits: AsyncDisposable
Implements: INativeIdStorageProvider, IAsyncDisposable
Constructors
CsvNativeIdStorageProvider(string, ChannelExecutor)
Initializes a new instance of the CsvNativeIdStorageProvider.
- path
- Path to storage.
- executor
- Sequential operation executor for disk access synchronization.
CsvNativeIdStorageProvider(IFileSystem, string, ChannelExecutor)
Initializes a new instance of the CsvNativeIdStorageProvider.
- fileSystem
- IFileSystem
- path
- Path to storage.
- executor
- Sequential operation executor for disk access synchronization.
Methods
DisposeManaged() : ValueTask
Release resources.
GetStorage(string) : INativeIdStorage
Get storage for a specific storage name.
- storageName
- Storage name.
Returns: Storage instance.
InitAsync(CancellationToken) : ValueTask<Dictionary<string, Exception>>
Initialize the storage.
- cancellationToken
- CancellationToken