Show / Hide Table of Contents

Class RedisSortBy

a sort-by predicate for a search.

Inheritance
System.Object
QueryOption
RedisSortBy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Searching.Query
Assembly: Redis.OM.dll
Syntax
public class RedisSortBy : QueryOption

Properties

| Improve this Doc View Source

Direction

Gets or sets the direction to sort by.

Declaration
public SortDirection Direction { get; set; }
Property Value
Type Description
SortDirection
| Improve this Doc View Source

Field

gets or sets the field to sort by.

Declaration
public string Field { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX