Class SortInfo
- Namespace
- Dynamicweb.Indexing.Querying.Sorting
- Assembly
- Dynamicweb.Indexing.dll
Class containing information about the sort direction for a given field.
[Serializable]
[DataContract]
public class SortInfo : IEquatable<SortInfo>
- Inheritance
-
SortInfo
- Implements
- Inherited Members
Properties
Field
Gets or sets the field used for sorting.
[DataMember(Name = "Field")]
public string Field { get; set; }
Property Value
- string
- The field.
SortDirection
Gets or sets the sort direction for the field.
[DataMember(Name = "SortDirection")]
public SortDirection SortDirection { get; set; }
Property Value
- SortDirection
- The sort direction.
Methods
Equals(SortInfo)
public bool Equals(SortInfo other)
Parameters
other
SortInfo
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()