Class SnapshotRegistry
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
Snapshot storage registry.
public class SnapshotRegistry : Disposable, IDisposable
- Inheritance
-
SnapshotRegistry
- Implements
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the SnapshotRegistry.
Constructors
SnapshotRegistry(string)
Snapshot storage registry.
public SnapshotRegistry(string path)
Parameters
pathstringPath to storage.
Remarks
Initializes a new instance of the SnapshotRegistry.
Methods
DisposeManaged()
Release resources.
protected override void DisposeManaged()
GetSnapshotStorage(Type, object)
To get the snapshot storage.
public ISnapshotStorage GetSnapshotStorage(Type dataType, object arg)
Parameters
dataTypeTypeMarket data type.
argobjectThe parameter associated with the
dataTypetype. For example, candle arg.
Returns
- ISnapshotStorage
The snapshot storage.
Init()
Initialize the storage.
public void Init()