Class EventStoreName
- Namespace
- Cratis.Chronicle
- Assembly
- Cratis.Chronicle.dll
Represents the name and identifier of an event store.
public record EventStoreName : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EventStoreName>
- Inheritance
-
EventStoreName
- Implements
- Inherited Members
- Extension Methods
Constructors
EventStoreName(EventStoreName)
protected EventStoreName(EventStoreName original)
Parameters
originalEventStoreName
EventStoreName(string)
Represents the name and identifier of an event store.
public EventStoreName(string Value)
Parameters
ValuestringThe inner value.
Fields
NotSet
Gets the not set EventStoreName.
public static readonly EventStoreName NotSet
Field Value
System
Gets the system EventStoreName.
public static readonly EventStoreName System
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(EventStoreName?)
public virtual bool Equals(EventStoreName? other)
Parameters
otherEventStoreName
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 ==(EventStoreName?, EventStoreName?)
public static bool operator ==(EventStoreName? left, EventStoreName? right)
Parameters
leftEventStoreNamerightEventStoreName
Returns
implicit operator string(EventStoreName)
Implicitly convert from EventStoreName to string.
public static implicit operator string(EventStoreName eventStore)
Parameters
eventStoreEventStoreNameEventStoreName to convert from.
Returns
implicit operator EventStoreName(string)
Implicitly convert from string to EventStoreName.
public static implicit operator EventStoreName(string value)
Parameters
Returns
operator !=(EventStoreName?, EventStoreName?)
public static bool operator !=(EventStoreName? left, EventStoreName? right)
Parameters
leftEventStoreNamerightEventStoreName