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

original SinkTypeId

SinkTypeId(string)

Represents the unique identifier of a type of sink.

public SinkTypeId(string Value)

Parameters

Value string

Underlying value.

Fields

EventSequence

Gets the identifier of the sink that publishes to an event sequence.

public static readonly SinkTypeId EventSequence

Field Value

SinkTypeId

None

Gets the none representation of SinkTypeId.

public static readonly SinkTypeId None

Field Value

SinkTypeId

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(SinkTypeId?)

public virtual bool Equals(SinkTypeId? other)

Parameters

other SinkTypeId

Returns

bool

Equals(ConceptAs<string>?)

public override sealed bool Equals(ConceptAs<string>? other)

Parameters

other ConceptAs<string>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

Operators

operator ==(SinkTypeId?, SinkTypeId?)

public static bool operator ==(SinkTypeId? left, SinkTypeId? right)

Parameters

left SinkTypeId
right SinkTypeId

Returns

bool

implicit operator SinkTypeId(string)

Implicitly convert from string to SinkTypeId.

public static implicit operator SinkTypeId(string value)

Parameters

value string

String value to convert from.

Returns

SinkTypeId

operator !=(SinkTypeId?, SinkTypeId?)

public static bool operator !=(SinkTypeId? left, SinkTypeId? right)

Parameters

left SinkTypeId
right SinkTypeId

Returns

bool