Skip to content

CrowdControlBlock

Inherits object

Public Member Functions

void

InvokeSent()

Invokes the Sent event.

bool

Equals(CrowdControlBlock? other)

bool

Equals(object? obj)

int

GetHashCode()

Public Static Functions

CrowdControlBlock

Deserialize(string json)

Deserializes a JSON string into a CrowdControlBlock instance. Returns a CrowdControlBlock object representing the deserialized JSON string.

CrowdControlBlock

Deserialize(string json, BlockType type)

Documentation inherited from Deserialize(string).

CrowdControlBlock

Deserialize(JToken token)

Converts a JToken instance into a CrowdControlBlock instance.

CrowdControlBlock

Deserialize(JToken token, BlockType type)

Documentation inherited from Deserialize(JToken).

Public Attributes

Func

IDSource

The default ID source for blocks. This is a GUID generator.

Guid

ID

The block identifier. Should be vaguely unique most of the time.

DateTimeOffset

Stamp

The block creation timestamp.

BlockType

BlockType

The block type.

Events

Action

Sent

Called when a block is sent to the server.