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
originalPropertyName
PropertyName(string)
Represents the name of a property in an event type.
public PropertyName(string Value)
Parameters
ValuestringActual value.
Fields
NotSet
Gets the representation of a not-set PropertyName.
public static readonly PropertyName NotSet
Field Value
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Value)
Parameters
Valuestring
Equals(PropertyName?)
public virtual bool Equals(PropertyName? other)
Parameters
otherPropertyName
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 ==(PropertyName?, PropertyName?)
public static bool operator ==(PropertyName? left, PropertyName? right)
Parameters
leftPropertyNamerightPropertyName
Returns
implicit operator string(PropertyName)
Implicitly convert from PropertyName to string.
public static implicit operator string(PropertyName name)
Parameters
namePropertyNamePropertyName to convert from.
Returns
implicit operator PropertyName(string)
Implicitly convert from string to PropertyName.
public static implicit operator PropertyName(string name)
Parameters
Returns
operator !=(PropertyName?, PropertyName?)
public static bool operator !=(PropertyName? left, PropertyName? right)
Parameters
leftPropertyNamerightPropertyName