Class PropertySeparator

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

Represents the separator used when splitting a property value.

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

Constructors

PropertySeparator(PropertySeparator)

protected PropertySeparator(PropertySeparator original)

Parameters

original PropertySeparator

PropertySeparator(string)

Represents the separator used when splitting a property value.

public PropertySeparator(string Value)

Parameters

Value string

Actual value.

Fields

Space

Gets the representation of a space separator.

public static readonly PropertySeparator Space

Field Value

PropertySeparator

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(PropertySeparator?)

public virtual bool Equals(PropertySeparator? other)

Parameters

other PropertySeparator

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

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

Parameters

left PropertySeparator
right PropertySeparator

Returns

bool

implicit operator string(PropertySeparator)

Implicitly convert from PropertySeparator to string.

public static implicit operator string(PropertySeparator separator)

Parameters

separator PropertySeparator

PropertySeparator to convert from.

Returns

string

implicit operator PropertySeparator(string)

Implicitly convert from string to PropertySeparator.

public static implicit operator PropertySeparator(string separator)

Parameters

separator string

string to convert from.

Returns

PropertySeparator

operator !=(PropertySeparator?, PropertySeparator?)

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

Parameters

left PropertySeparator
right PropertySeparator

Returns

bool