Class EventStoreSubscriptionId
- Namespace
- Cratis.Chronicle.EventStoreSubscriptions
- Assembly
- Cratis.Chronicle.dll
Represents the unique identifier of an event store subscription on the client.
public record EventStoreSubscriptionId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EventStoreSubscriptionId>
- Inheritance
-
EventStoreSubscriptionId
- Implements
- Inherited Members
Constructors
EventStoreSubscriptionId(string)
Represents the unique identifier of an event store subscription on the client.
public EventStoreSubscriptionId(string Value)
Parameters
ValuestringThe actual value.
Fields
Unspecified
Gets the representation of an unspecified EventStoreSubscriptionId.
public static readonly EventStoreSubscriptionId Unspecified
Field Value
Operators
implicit operator ObserverId(EventStoreSubscriptionId)
Implicitly convert from EventStoreSubscriptionId to ObserverId.
public static implicit operator ObserverId(EventStoreSubscriptionId id)
Parameters
idEventStoreSubscriptionIdEventStoreSubscriptionId to convert from.
Returns
implicit operator EventStoreSubscriptionId(ObserverId)
Implicitly convert from ObserverId to EventStoreSubscriptionId.
public static implicit operator EventStoreSubscriptionId(ObserverId id)
Parameters
idObserverIdObserverId to convert from.
Returns
implicit operator EventStoreSubscriptionId(string)
Implicitly convert from a string to EventStoreSubscriptionId.
public static implicit operator EventStoreSubscriptionId(string id)
Parameters
idstringString to convert from.