Class PropertyExpression

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

Represents a property expression key produced by an IEventMigrationPropertyBuilder operation.

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

Constructors

PropertyExpression(PropertyExpression)

protected PropertyExpression(PropertyExpression original)

Parameters

original PropertyExpression

PropertyExpression(string)

Represents a property expression key produced by an IEventMigrationPropertyBuilder operation.

public PropertyExpression(string Value)

Parameters

Value string

Actual value.

Fields

NotSet

Gets the representation of a not-set PropertyExpression.

public static readonly PropertyExpression NotSet

Field Value

PropertyExpression

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(PropertyExpression?)

public virtual bool Equals(PropertyExpression? other)

Parameters

other PropertyExpression

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

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

Parameters

left PropertyExpression
right PropertyExpression

Returns

bool

implicit operator string(PropertyExpression)

Implicitly convert from PropertyExpression to string.

public static implicit operator string(PropertyExpression expression)

Parameters

expression PropertyExpression

PropertyExpression to convert from.

Returns

string

implicit operator PropertyExpression(string)

Implicitly convert from string to PropertyExpression.

public static implicit operator PropertyExpression(string expression)

Parameters

expression string

string to convert from.

Returns

PropertyExpression

operator !=(PropertyExpression?, PropertyExpression?)

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

Parameters

left PropertyExpression
right PropertyExpression

Returns

bool