Table of Contents

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 int

The page number.

size int

The size of a page.

isPaged bool

Whether or not paging is to be used.

Fields

NotPaged

Represents a not paged result.

public static readonly Paging NotPaged

Field Value

Paging

Properties

IsPaged

Whether paging is to be used.

public bool IsPaged { get; }

Property Value

bool

Page

The page number.

public int Page { get; }

Property Value

int

Size

The size of a page.

public int Size { get; }

Property Value

int

Skip

Gets the number of items to skip.

public int Skip { get; }

Property Value

int