Class Paging
- Namespace
- Cratis.Applications.Queries
- Assembly
- Cratis.Applications.dll
Represents paging for a query.
public record Paging : IEquatable<Paging>
- Inheritance
-
Paging
- Implements
- Inherited Members
Constructors
Paging(int, int, bool)
Initializes a new instance of the Paging class.
public Paging(int page, int size, bool isPaged)
Parameters
page
intThe page number.
size
intThe size of a page.
isPaged
boolWhether or not paging is to be used.
Fields
NotPaged
Represents a not paged result.
public static readonly Paging NotPaged
Field Value
Properties
IsPaged
Whether paging is to be used.
public bool IsPaged { get; }
Property Value
Page
The page number.
public int Page { get; }
Property Value
Size
The size of a page.
public int Size { get; }
Property Value
Skip
Gets the number of items to skip.
public int Skip { get; }