Struct ViewOrdering
Single ordering clause (OrderBy, ThenBy, OrderByDescending, ThenByDescending). Stores property name as string for serialization support.
[MessagePackObject(false)]
public readonly struct ViewOrdering
- Inherited Members
Constructors
ViewOrdering(string, bool)
public ViewOrdering(string propertyName, bool ascending)
Parameters
Fields
Ascending
[Key(1)]
public readonly bool Ascending
Field Value
PropertyName
[Key(0)]
public readonly string PropertyName
Field Value
Methods
Equals(ViewOrdering)
public bool Equals(ViewOrdering other)
Parameters
otherViewOrdering
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.