Class SnapshotRegistry
Snapshot storage registry.
Namespace: StockSharp.Algo.Storages
Assembly: StockSharp.Algo.dll
Syntax
public class SnapshotRegistry : Disposable
Constructors
SnapshotRegistry(String)
Initializes a new instance of the SnapshotRegistry.
Declaration
public SnapshotRegistry(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | Path to storage. |
Methods
DisposeManaged()
Release resources.
Declaration
protected override void DisposeManaged()
GetSnapshotStorage(Type, Object)
To get the snapshot storage.
Declaration
public ISnapshotStorage GetSnapshotStorage(Type dataType, object arg)
Parameters
Type | Name | Description |
---|---|---|
Type | dataType | Market data type. |
Object | arg | The parameter associated with the |
Returns
Type | Description |
---|---|
ISnapshotStorage | The snapshot storage. |
Init()
Initialize the storage.
Declaration
public void Init()