CsvNativeIdStorageProvider

StockSharp.Algo.Storages

CSV security native identifier storage provider.

继承自: AsyncDisposable

实现: INativeIdStorageProvider, IAsyncDisposable

构造函数

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.

方法

DisposeManaged() : ValueTask

Release resources.

GetStorage(string) : INativeIdStorage

Get storage for a specific storage name.

storageName
Storage name.

返回值: Storage instance.

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

Initialize the storage.

cancellationToken
CancellationToken