ISnapshotRegistry
StockSharp.Algo.Storages
即时存储注册的界面 。
方法
GetSnapshotStorage
public ISnapshotStorage GetSnapshotStorage(DataType dataType)
result = iSnapshotRegistry.GetSnapshotStorage(dataType)
来取快照存储器
- dataType
- DataType
返回值: 即时快照存储器.
InitAsync
public ValueTask InitAsync(CancellationToken cancellationToken)
result = iSnapshotRegistry.InitAsync(cancellationToken)
初始化存储 。
- cancellationToken
- CancellationToken
返回值: ValueTask