Class EventStreamId
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
ValuestringActual value.
Fields
Default
Gets the representation of an unspecified EventStreamId.
public static readonly string Default
Field Value
NotSet
Gets the representation of a not set EventStreamId.
public static readonly EventStreamId NotSet
Field Value
Properties
IsDefault
Check whether or not the EventStreamId is the default.
public bool IsDefault { get; }
Property Value
Operators
implicit operator EventStreamId(string)
Implicitly convert from string to EventStreamId.
public static implicit operator EventStreamId(string id)
Parameters
Returns
- EventStreamId
A converted EventStreamId.