Class SinkTypeId
- Namespace
- Cratis.Chronicle.Sinks
- Assembly
- Cratis.Chronicle.dll
Represents the unique identifier of a type of sink.
public record SinkTypeId : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<SinkTypeId>
- Inheritance
-
SinkTypeId
- Implements
- Inherited Members
- Extension Methods
Constructors
SinkTypeId(SinkTypeId)
protected SinkTypeId(SinkTypeId original)
Parameters
originalSinkTypeId
SinkTypeId(string)
Represents the unique identifier of a type of sink.
public SinkTypeId(string Value)
Parameters
ValuestringUnderlying value.
Fields
EventSequence
Gets the identifier of the sink that publishes to an event sequence.
public static readonly SinkTypeId EventSequence
Field Value
None
Gets the none representation of SinkTypeId.
public static readonly SinkTypeId None
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(SinkTypeId?)
public virtual bool Equals(SinkTypeId? other)
Parameters
otherSinkTypeId
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 ==(SinkTypeId?, SinkTypeId?)
public static bool operator ==(SinkTypeId? left, SinkTypeId? right)
Parameters
leftSinkTypeIdrightSinkTypeId
Returns
implicit operator SinkTypeId(string)
Implicitly convert from string to SinkTypeId.
public static implicit operator SinkTypeId(string value)
Parameters
valuestringString value to convert from.
Returns
operator !=(SinkTypeId?, SinkTypeId?)
public static bool operator !=(SinkTypeId? left, SinkTypeId? right)
Parameters
leftSinkTypeIdrightSinkTypeId