Class QueryOrder
An order for an individual field that is applied to a query.
Inherited Members
Namespace: Unity.Services.Apis.Lobbies
Assembly: solution.dll
Syntax
[Preserve]
public class QueryOrder
Constructors
QueryOrder(bool, FieldEnum?)
Initializes a new instance of the QueryOrder class.
Declaration
[Preserve]
public QueryOrder(bool asc = false, QueryOrder.FieldEnum? field = null)
Parameters
Type | Name | Description |
---|---|---|
bool | asc | Whether to sort in ascending or descending order.. |
QueryOrder.FieldEnum? | field | The name of the field to order on.. |
Properties
Asc
Whether to sort in ascending or descending order.
Declaration
[Preserve]
public bool Asc { get; set; }
Property Value
Type | Description |
---|---|
bool | Whether to sort in ascending or descending order. |
Field
The name of the field to order on.
Declaration
[Preserve]
public QueryOrder.FieldEnum? Field { get; set; }
Property Value
Type | Description |
---|---|
QueryOrder.FieldEnum? | The name of the field to order on. |