Interface ISnapshotHolder<TMessage>
- Namespace
- StockSharp.Server.Core
- Assembly
- StockSharp.Server.Core.dll
Interface, described snapshots holder.
public interface ISnapshotHolder<TMessage> where TMessage : Message
Type Parameters
TMessage
Message type.
- Extension Methods
Methods
Process(TMessage, bool)
Process
TMessage Process(TMessage change, bool needResponse)
Parameters
change
TMessagechange. needResponse
boolNeed response value.
Returns
- TMessage
change.
ResetSnapshot(SecurityId)
Reset snapshot for the specified security.
void ResetSnapshot(SecurityId securityId)
Parameters
securityId
SecurityIdSecurity ID.
TryGetSnapshot(SecurityId)
Try get snapshot for the specified security.
TMessage TryGetSnapshot(SecurityId securityId)
Parameters
securityId
SecurityIdSecurity ID.
Returns
- TMessage
Snapshot.