Table of Contents

Class EventSequenceId

Namespace
Cratis.Chronicle.EventSequences
Assembly
Cratis.Chronicle.dll

Represents the unique identifier of an event sequence.

public record EventSequenceId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EventSequenceId>
Inheritance
EventSequenceId
Implements
Inherited Members

Constructors

EventSequenceId(string)

Represents the unique identifier of an event sequence.

public EventSequenceId(string Value)

Parameters

Value string

Actual value.

Fields

Inbox

Gets the virtual EventSequenceId representing all inboxes.

public static readonly EventSequenceId Inbox

Field Value

EventSequenceId

InboxId

The string value for the inbox event sequence identifier.

public const string InboxId = "inbox"

Field Value

string

InboxPrefix

The prefix used for per-source inbox event sequence identifiers.

public const string InboxPrefix = "inbox-"

Field Value

string

Log

The EventSequenceId representing the event sequence for the default log.

public static readonly EventSequenceId Log

Field Value

EventSequenceId

LogId

The string value for the default event log sequence identifier.

public const string LogId = "event-log"

Field Value

string

Outbox

Gets EventSequenceId of the default outbox.

public static readonly EventSequenceId Outbox

Field Value

EventSequenceId

OutboxId

The string value for the outbox event sequence identifier.

public const string OutboxId = "outbox"

Field Value

string

System

The EventSequenceId representing the system event sequence.

public static readonly EventSequenceId System

Field Value

EventSequenceId

SystemId

The string value for the system event sequence identifier.

public const string SystemId = "system"

Field Value

string

Unspecified

The EventSequenceId representing an unspecified value.

public static readonly EventSequenceId Unspecified

Field Value

EventSequenceId

UnspecifiedId

The string value for the unspecified event sequence identifier.

public const string UnspecifiedId = "[unspecified]"

Field Value

string

Properties

IsEventLog

Get whether or not this is the default log event sequence.

public bool IsEventLog { get; }

Property Value

bool

Operators

implicit operator EventSequenceId(string)

Implicitly convert from a string to EventSequenceId.

public static implicit operator EventSequenceId(string id)

Parameters

id string

String to convert from.

Returns

EventSequenceId