Table of Contents

Interface IStorageEntityList<T>

Namespace
StockSharp.Algo.Storages
Assembly
StockSharp.Algo.dll

The interface for presentation in the form of list of trade objects, received from the external storage.

public interface IStorageEntityList<T> : INotifyList<T>, INotifyCollection<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, ISynchronizedCollection<T>, ISynchronizedCollection

Type Parameters

T

The type of the trading object (for example, Security or MyTrade).

Inherited Members
Extension Methods

Properties

Cache

Cached items.

T[] Cache { get; }

Property Value

T[]

DelayAction

The time delayed action.

DelayAction DelayAction { get; }

Property Value

DelayAction

Methods

ReadById(object)

To load the trading object by identifier.

T ReadById(object id)

Parameters

id object

Identifier.

Returns

T

The trading object. If the object was not found by identifier, null will be returned.

Save(T)

To save the trading object.

void Save(T entity)

Parameters

entity T

The trading object.

WaitFlush()

Wait flush.

void WaitFlush()