Table of Contents

Class Sorting

Namespace
Cratis.Applications.Queries
Assembly
Cratis.Applications.dll

Represents sorting for a query.

public record Sorting : IEquatable<Sorting>
Inheritance
Sorting
Implements
Inherited Members

Constructors

Sorting(string, SortDirection)

Represents sorting for a query.

public Sorting(string Field, SortDirection Direction)

Parameters

Field string

Field to sort.

Direction SortDirection

The SortDirection.

Fields

None

Represents no sorting.

public static readonly Sorting None

Field Value

Sorting

Properties

Direction

public SortDirection Direction { get; init; }

Property Value

SortDirection

Field

Field to sort.

public string Field { get; init; }

Property Value

string