CsvNativeIdStorageProvider

StockSharp.Algo.Storages

CSV 金融商品 ネイティブ識別子ストレージプロバイダ。

継承元: AsyncDisposable

実装: INativeIdStorageProvider, IAsyncDisposable

コンストラクター

CsvNativeIdStorageProvider
public CsvNativeIdStorageProvider(string path, ChannelExecutor executor)
csvNativeIdStorageProvider = CsvNativeIdStorageProvider(path, executor)

CsvNativeIdStorageProvider の新規インスタンスを初期化します。

path
保存への道。
executor
ディスクアクセス同期のためのシーケンシャル操作の実行者。
CsvNativeIdStorageProvider
public CsvNativeIdStorageProvider(IFileSystem fileSystem, string path, ChannelExecutor executor)
csvNativeIdStorageProvider = CsvNativeIdStorageProvider(fileSystem, path, executor)

CsvNativeIdStorageProvider の新規インスタンスを初期化します。

fileSystem
担当: 佐藤 宏
path
保存への道。
executor
ディスクアクセス同期のためのシーケンシャル操作の実行者。

メソッド

DisposeManaged
protected override ValueTask DisposeManaged()
result = csvNativeIdStorageProvider.DisposeManaged()

リソースのリリース

GetStorage
public INativeIdStorage GetStorage(string storageName)
result = csvNativeIdStorageProvider.GetStorage(storageName)

特定のストレージ名にストレージを取得します。

storageName
保管名。

戻り値: ストレージインスタンス。

InitAsync
public ValueTask<Dictionary<string, Exception>> InitAsync(CancellationToken cancellationToken)
result = csvNativeIdStorageProvider.InitAsync(cancellationToken)

ストレージを初期化します。

cancellationToken
担当: 佐藤 宏

戻り値: Possible errors with storage names. Empty dictionary means initialization without any issues.