Class PropertyName

Namespace
Cratis.Chronicle.Events.Migrations
Assembly
Cratis.Chronicle.dll

Represents the name of a property in an event type.

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

Constructors

PropertyName(PropertyName)

protected PropertyName(PropertyName original)

Parameters

original PropertyName

PropertyName(string)

Represents the name of a property in an event type.

public PropertyName(string Value)

Parameters

Value string

Actual value.

Fields

NotSet

Gets the representation of a not-set PropertyName.

public static readonly PropertyName NotSet

Field Value

PropertyName

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(PropertyName?)

public virtual bool Equals(PropertyName? other)

Parameters

other PropertyName

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

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

Parameters

left PropertyName
right PropertyName

Returns

bool

implicit operator string(PropertyName)

Implicitly convert from PropertyName to string.

public static implicit operator string(PropertyName name)

Parameters

name PropertyName

PropertyName to convert from.

Returns

string

implicit operator PropertyName(string)

Implicitly convert from string to PropertyName.

public static implicit operator PropertyName(string name)

Parameters

name string

string to convert from.

Returns

PropertyName

operator !=(PropertyName?, PropertyName?)

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

Parameters

left PropertyName
right PropertyName

Returns

bool