Class EventSourceId
Represents the unique identifier of an instance of an event source.
public record EventSourceId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EventSourceId>
- Inheritance
-
EventSourceId
- Implements
- Inherited Members
Constructors
EventSourceId(string)
Represents the unique identifier of an instance of an event source.
public EventSourceId(string Value)
Parameters
Value
stringActual value.
Fields
Unspecified
Gets the representation of an unspecified EventSourceId.
public static readonly EventSourceId Unspecified
Field Value
Properties
IsSpecified
Check whether or not the EventSourceId is specified.
public bool IsSpecified { get; }
Property Value
Methods
New()
Create a new EventSourceId.
public static EventSourceId New()
Returns
- EventSourceId
A new EventSourceId.
Operators
implicit operator EventSourceId(Guid)
Implicitly convert from Guid to EventSourceId.
public static implicit operator EventSourceId(Guid id)
Parameters
Returns
- EventSourceId
A converted EventSourceId.
implicit operator EventSourceId(string)
Implicitly convert from string to EventSourceId.
public static implicit operator EventSourceId(string id)
Parameters
Returns
- EventSourceId
A converted EventSourceId.