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
originalPropertySeparator
PropertySeparator(string)
Represents the separator used when splitting a property value.
public PropertySeparator(string Value)
Parameters
ValuestringActual value.
Fields
Space
Gets the representation of a space separator.
public static readonly PropertySeparator Space
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(PropertySeparator?)
public virtual bool Equals(PropertySeparator? other)
Parameters
otherPropertySeparator
Returns
Equals(ConceptAs<string>?)
public override sealed bool Equals(ConceptAs<string>? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
Operators
operator ==(PropertySeparator?, PropertySeparator?)
public static bool operator ==(PropertySeparator? left, PropertySeparator? right)
Parameters
leftPropertySeparatorrightPropertySeparator
Returns
implicit operator string(PropertySeparator)
Implicitly convert from PropertySeparator to string.
public static implicit operator string(PropertySeparator separator)
Parameters
separatorPropertySeparatorPropertySeparator to convert from.
Returns
implicit operator PropertySeparator(string)
Implicitly convert from string to PropertySeparator.
public static implicit operator PropertySeparator(string separator)
Parameters
Returns
operator !=(PropertySeparator?, PropertySeparator?)
public static bool operator !=(PropertySeparator? left, PropertySeparator? right)
Parameters
leftPropertySeparatorrightPropertySeparator