Class EventStoreSubscriptionId
- 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
- Extension Methods
Constructors
EventStoreSubscriptionId(EventStoreSubscriptionId)
protected EventStoreSubscriptionId(EventStoreSubscriptionId original)
Parameters
originalEventStoreSubscriptionId
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
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(EventStoreSubscriptionId?)
public virtual bool Equals(EventStoreSubscriptionId? other)
Parameters
otherEventStoreSubscriptionId
Returns
Equals(ConceptAs<string>?)
public override sealed bool Equals(ConceptAs<string>? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
Operators
operator ==(EventStoreSubscriptionId?, EventStoreSubscriptionId?)
public static bool operator ==(EventStoreSubscriptionId? left, EventStoreSubscriptionId? right)
Parameters
leftEventStoreSubscriptionIdrightEventStoreSubscriptionId
Returns
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.
Returns
operator !=(EventStoreSubscriptionId?, EventStoreSubscriptionId?)
public static bool operator !=(EventStoreSubscriptionId? left, EventStoreSubscriptionId? right)
Parameters
leftEventStoreSubscriptionIdrightEventStoreSubscriptionId