Skip to main content

PagingHeader

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Represents a paging header

public class PagingHeader

Inheritance Object → PagingHeader

Properties​

TotalCount​

Returns the total count of items available

public long TotalCount { get; }

Property Value​

Int64

Skip​

Returns the amount of items skipped

public int Skip { get; }

Property Value​

Int32

Take​

Returns the amount of items taken

public int Take { get; }

Property Value​

Int32

Constructors​

PagingHeader(Int64, Int32, Int32)​

Constructor

public PagingHeader(long totalCount, int skip, int take)

Parameters​

totalCount Int64
Total count of items based on query

skip Int32
Amount of items skipped

take Int32
Amount of items taken