Click or drag to resize

ISnapshotSerializerTKey, TMessage Interface

The interface for serialize snapshots.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public interface ISnapshotSerializer<TKey, TMessage>
where TMessage : Message

Type Parameters

TKey
Type of key value.
TMessage
Message type.

The ISnapshotSerializerTKey, TMessage type exposes the following members.

Properties
  NameDescription
Public propertyDataType
Data type info.
Public propertyName
Name.
Public propertyVersion
Version of data format.
Top
Methods
  NameDescription
Public methodCreateCopy
Create copy for the new snapshot.
Public methodDeserialize
Deserialize message from byte array.
Public methodGetKey
Get key for the specified message.
Public methodSerialize
Serialize the specified message to byte array.
Public methodUpdate
Update the specified message by new changes.
Top
See Also