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
- 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
objectIdentifier.
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
TThe trading object.
WaitFlush()
Wait flush.
void WaitFlush()