DriveCache
StockSharp.Algo.Storages
IMarketDataDrive cache.
Inherits: Disposable
Implements: IPersistable
Constructors
DriveCache(IFileSystem)
Initializes a new instance of the DriveCache.
- fileSystem
- File system abstraction.
Properties
DefaultDrive : IMarketDataDrive
The storage used by default.
Drives : IEnumerable<IMarketDataDrive>
Available storages.
TryDefaultDrive : IMarketDataDrive
The storage used by default.
Methods
DisposeManaged()
Release resources.
GetDrive(string) : IMarketDataDrive
To get the storage for .
- path
- Path.
Returns: Market data storage.
Update()
Invoke Changed event.
Events
DriveDeleted : Action<IMarketDataDrive>
Storage removed event.
NewDriveCreated : Action<IMarketDataDrive>
New storage created event.