Table of Contents

Struct ViewOrdering

Namespace
The.Caching
Assembly
Instagile.dll

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

propertyName string
ascending bool

Fields

Ascending

[Key(1)]
public readonly bool Ascending

Field Value

bool

PropertyName

[Key(0)]
public readonly string PropertyName

Field Value

string

Methods

Equals(ViewOrdering)

public bool Equals(ViewOrdering other)

Parameters

other ViewOrdering

Returns

bool

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.