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

original EventStoreName

EventStoreName(string)

Represents the name and identifier of an event store.

public EventStoreName(string Value)

Parameters

Value string

The inner value.

Fields

NotSet

Gets the not set EventStoreName.

public static readonly EventStoreName NotSet

Field Value

EventStoreName

System

Gets the system EventStoreName.

public static readonly EventStoreName System

Field Value

EventStoreName

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(EventStoreName?)

public virtual bool Equals(EventStoreName? other)

Parameters

other EventStoreName

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 ==(EventStoreName?, EventStoreName?)

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

Parameters

left EventStoreName
right EventStoreName

Returns

bool

implicit operator string(EventStoreName)

Implicitly convert from EventStoreName to string.

public static implicit operator string(EventStoreName eventStore)

Parameters

eventStore EventStoreName

EventStoreName to convert from.

Returns

string

implicit operator EventStoreName(string)

Implicitly convert from string to EventStoreName.

public static implicit operator EventStoreName(string value)

Parameters

value string

string representation.

Returns

EventStoreName

operator !=(EventStoreName?, EventStoreName?)

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

Parameters

left EventStoreName
right EventStoreName

Returns

bool