Class QueryParser
Inheritance
System.Object
QueryParser
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: LightQuery.Shared
Assembly: LightQuery.Shared.dll
Syntax
public static class QueryParser
Fields
| Improve this Doc View SourceDEFAULT_PAGE_SIZE
Declaration
public const int DEFAULT_PAGE_SIZE = 50
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceGetQueryOptions(IQueryCollection, Int32, String)
Declaration
public static QueryOptions GetQueryOptions(IQueryCollection query, int defaultPageSize = 50, string defaultSort = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.IQueryCollection | query | |
| System.Int32 | defaultPageSize | |
| System.String | defaultSort |
Returns
| Type | Description |
|---|---|
| QueryOptions |