Class TopicUpdateType
Topic update type.
This is used to indicate the type of update represented by the content which may vary according to topic type.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Types
Assembly: Diffusion.Client.dll
Syntax
public class TopicUpdateType : AdvancedEnum<TopicUpdateType>
Fields
DELTA
The content represents a delta of change (or a patch) to the topic state.
Declaration
public static readonly TopicUpdateType DELTA
Field Value
Type | Description |
---|---|
TopicUpdateType | A delta of change to the topic state. |
SNAPSHOT
The content is a complete representation of topic state.
Declaration
public static readonly TopicUpdateType SNAPSHOT
Field Value
Type | Description |
---|---|
TopicUpdateType | A complete representation of topic state. |
Properties
Code
Returns the code of this update type.
Declaration
public byte Code { get; }
Property Value
Type | Description |
---|---|
Byte | The code of this update type. |
Methods
FromCode(Byte)
Returns the constant associated with the given code.
Declaration
public static TopicUpdateType FromCode(byte code)
Parameters
Type | Name | Description |
---|---|---|
Byte | code | The type code supplied. |
Returns
Type | Description |
---|---|
TopicUpdateType | The constant associated with the given code. |
Initialise()
Override to perform any initialisation tasks.
Declaration
public static void Initialise()