Interface IExtendedInfoStorage
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
Extended info storage.
public interface IExtendedInfoStorage
- Extension Methods
Properties
Storages
Get all extended storages.
IEnumerable<IExtendedInfoStorageItem> Storages { get; }
Property Value
Methods
Create(string, IEnumerable<Tuple<string, Type>>)
To create storage.
IExtendedInfoStorageItem Create(string storageName, IEnumerable<Tuple<string, Type>> fields)
Parameters
storageName
stringStorage name.
fields
IEnumerable<Tuple<string, Type>>Extended fields (names and types).
Returns
- IExtendedInfoStorageItem
Storage.
Delete(IExtendedInfoStorageItem)
Delete storage.
void Delete(IExtendedInfoStorageItem storage)
Parameters
storage
IExtendedInfoStorageItemStorage.
Get(string)
To get storage for the specified name.
IExtendedInfoStorageItem Get(string storageName)
Parameters
storageName
stringStorage name.
Returns
- IExtendedInfoStorageItem
Storage.
Init()
Initialize the storage.
IDictionary<IExtendedInfoStorageItem, Exception> Init()
Returns
- IDictionary<IExtendedInfoStorageItem, Exception>
Possible errors with storage names. Empty dictionary means initialization without any issues.
Events
Created
The storage was created.
event Action<IExtendedInfoStorageItem> Created
Event Type
Deleted
The storage was deleted.
event Action<IExtendedInfoStorageItem> Deleted