RunicSortKey record struct

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public readonly record struct RunicSortKey : IEquatable<RunicSortKey>

Inherits or implements IEquatable.

One sort key of a RunicQuery.

Parameters

Field

The field to sort by.

Descending

Whether larger values come first.

Constructors

RunicSortKey

public RunicSortKey(string Field, bool Descending = false)

One sort key of a RunicQuery.

Parameters

Field

The field to sort by.

Descending

Whether larger values come first.

Properties

Descending

public bool Descending { get; init; }

Whether larger values come first.

Field

public string Field { get; init; }

The field to sort by.