Class SortField
- Namespace
- Cratis.Arc.Queries
- Assembly
- Cratis.Arc.Core.dll
Concept representing the name of a field to sort by.
public record SortField : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<SortField>
- Inheritance
-
SortField
- Implements
- Inherited Members
- Extension Methods
Constructors
SortField(SortField)
protected SortField(SortField original)
Parameters
originalSortField
SortField(string)
Concept representing the name of a field to sort by.
public SortField(string Value)
Parameters
ValuestringConcept value.
Fields
NotSet
Represents a not-set SortField.
public static readonly SortField 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(SortField?)
public virtual bool Equals(SortField? other)
Parameters
otherSortField
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 ==(SortField?, SortField?)
public static bool operator ==(SortField? left, SortField? right)
Parameters
Returns
implicit operator string(SortField)
public static implicit operator string(SortField sortField)
Parameters
Returns
implicit operator SortField(string)
public static implicit operator SortField(string value)
Parameters
valuestringThe string to convert from.
Returns
operator !=(SortField?, SortField?)
public static bool operator !=(SortField? left, SortField? right)