Table of Contents

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

IEnumerable<IExtendedInfoStorageItem>

Methods

Create(string, IEnumerable<Tuple<string, Type>>)

To create storage.

IExtendedInfoStorageItem Create(string storageName, IEnumerable<Tuple<string, Type>> fields)

Parameters

storageName string

Storage name.

fields IEnumerable<Tuple<string, Type>>

Extended fields (names and types).

Returns

IExtendedInfoStorageItem

Storage.

Delete(IExtendedInfoStorageItem)

Delete storage.

void Delete(IExtendedInfoStorageItem storage)

Parameters

storage IExtendedInfoStorageItem

Storage.

Get(string)

To get storage for the specified name.

IExtendedInfoStorageItem Get(string storageName)

Parameters

storageName string

Storage 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

Action<IExtendedInfoStorageItem>

Deleted

The storage was deleted.

event Action<IExtendedInfoStorageItem> Deleted

Event Type

Action<IExtendedInfoStorageItem>