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 |
SNAPSHOT
The content is a complete representation of topic state.
Declaration
public static readonly TopicUpdateType SNAPSHOT
Field Value
Type | Description |
---|---|
TopicUpdateType |
Properties
Code
Gets the code of this update type.
Declaration
public byte Code { get; }
Property Value
Type | Description |
---|---|
Byte |
Methods
FromCode(Byte)
Returns the constant associated with the given code.
Declaration
public static TopicUpdateType FromCode(byte code)
Parameters
Type | Name | Description |
---|---|---|
Byte | code |
Returns
Type | Description |
---|---|
TopicUpdateType |
Initialise()
Override to perform any initialisation tasks.
Declaration
public static void Initialise()