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
ValuestringActual value.
Fields
Inbox
Gets the virtual EventSequenceId representing all inboxes.
public static readonly EventSequenceId Inbox
Field Value
InboxId
The string value for the inbox event sequence identifier.
public const string InboxId = "inbox"
Field Value
InboxPrefix
The prefix used for per-source inbox event sequence identifiers.
public const string InboxPrefix = "inbox-"
Field Value
Log
The EventSequenceId representing the event sequence for the default log.
public static readonly EventSequenceId Log
Field Value
LogId
The string value for the default event log sequence identifier.
public const string LogId = "event-log"
Field Value
Outbox
Gets EventSequenceId of the default outbox.
public static readonly EventSequenceId Outbox
Field Value
OutboxId
The string value for the outbox event sequence identifier.
public const string OutboxId = "outbox"
Field Value
System
The EventSequenceId representing the system event sequence.
public static readonly EventSequenceId System
Field Value
SystemId
The string value for the system event sequence identifier.
public const string SystemId = "system"
Field Value
Unspecified
The EventSequenceId representing an unspecified value.
public static readonly EventSequenceId Unspecified
Field Value
UnspecifiedId
The string value for the unspecified event sequence identifier.
public const string UnspecifiedId = "[unspecified]"
Field Value
Properties
IsEventLog
Get whether or not this is the default log event sequence.
public bool IsEventLog { get; }
Property Value
Operators
implicit operator EventSequenceId(string)
Implicitly convert from a string to EventSequenceId.
public static implicit operator EventSequenceId(string id)
Parameters
idstringString to convert from.