Table of Contents

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 change.

TMessage Process(TMessage change, bool needResponse)

Parameters

change TMessage

change.

needResponse bool

Need response value.

Returns

TMessage

change.

ResetSnapshot(SecurityId)

Reset snapshot for the specified security.

void ResetSnapshot(SecurityId securityId)

Parameters

securityId SecurityId

Security ID.

TryGetSnapshot(SecurityId)

Try get snapshot for the specified security.

TMessage TryGetSnapshot(SecurityId securityId)

Parameters

securityId SecurityId

Security ID.

Returns

TMessage

Snapshot.