Class EventStoreNamespaceName

Namespace
Cratis.Chronicle
Assembly
Cratis.Chronicle.dll

Represents the name and identifier of an event store.

public record EventStoreNamespaceName : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EventStoreNamespaceName>
Inheritance
EventStoreNamespaceName
Implements
Inherited Members
Extension Methods

Constructors

EventStoreNamespaceName(EventStoreNamespaceName)

protected EventStoreNamespaceName(EventStoreNamespaceName original)

Parameters

original EventStoreNamespaceName

EventStoreNamespaceName(string)

Represents the name and identifier of an event store.

public EventStoreNamespaceName(string Value)

Parameters

Value string

The inner value.

Fields

Default

Gets the default EventStoreNamespaceName.

public static readonly EventStoreNamespaceName Default

Field Value

EventStoreNamespaceName

NotSet

Gets the not set EventStoreNamespaceName.

public static readonly EventStoreNamespaceName NotSet

Field Value

EventStoreNamespaceName

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(EventStoreNamespaceName?)

public virtual bool Equals(EventStoreNamespaceName? other)

Parameters

other EventStoreNamespaceName

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

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

Parameters

left EventStoreNamespaceName
right EventStoreNamespaceName

Returns

bool

implicit operator EventStoreNamespaceName(string)

Implicitly convert from string to EventStoreNamespaceName.

public static implicit operator EventStoreNamespaceName(string value)

Parameters

value string

string representation.

Returns

EventStoreNamespaceName

operator !=(EventStoreNamespaceName?, EventStoreNamespaceName?)

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

Parameters

left EventStoreNamespaceName
right EventStoreNamespaceName

Returns

bool