Class BaseChangeMessage<TMessage, TField>
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
A message containing changes.
[DataContract]
public abstract class BaseChangeMessage<TMessage, TField> : BaseSubscriptionIdMessage<TMessage>, IMessage, ILocalTimeMessage, ICloneable, ISubscriptionIdMessage, IOriginalTransactionIdMessage, IServerTimeMessage, IGeneratedMessage where TMessage : BaseChangeMessage<TMessage, TField>, new()
Type Parameters
TMessage
Message type.
TField
Changes type.
- Inheritance
-
BaseSubscriptionIdMessage<TMessage>BaseChangeMessage<TMessage, TField>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
BaseChangeMessage(MessageTypes)
Initialize BaseChangeMessage<TMessage, TField>.
protected BaseChangeMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
BuildFrom
Determines the message is generated from the specified DataType.
[DataMember]
public DataType BuildFrom { get; set; }
Property Value
Changes
Changes.
[Browsable(false)]
public IDictionary<TField, object> Changes { get; }
Property Value
- IDictionary<TField, object>
ServerTime
Server time.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "ServerTime", Description = "ChangeServerTime", GroupName = "General")]
public DateTimeOffset ServerTime { get; set; }
Property Value
Methods
CopyTo(TMessage)
Copy the message into the destination
.
public override void CopyTo(TMessage destination)
Parameters
destination
TMessageThe object, to which copied information.
ToString()
public override string ToString()