Table of Contents

Class EventStreamId

Namespace
Cratis.Chronicle.Events
Assembly
Cratis.Chronicle.dll

Represents the unique identifier of an event stream within a EventStreamType .

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

Constructors

EventStreamId(string)

Represents the unique identifier of an event stream within a EventStreamType .

public EventStreamId(string Value)

Parameters

Value string

Actual value.

Fields

Default

Gets the representation of an unspecified EventStreamId.

public static readonly string Default

Field Value

string

NotSet

Gets the representation of a not set EventStreamId.

public static readonly EventStreamId NotSet

Field Value

EventStreamId

Properties

IsDefault

Check whether or not the EventStreamId is the default.

public bool IsDefault { get; }

Property Value

bool

Operators

implicit operator EventStreamId(string)

Implicitly convert from string to EventStreamId.

public static implicit operator EventStreamId(string id)

Parameters

id string

string to convert from.

Returns

EventStreamId

A converted EventStreamId.