Skip to content

PagedList<T> class

Default implementation of IPagedList interface

public class Korzh.EasyQuery.Services.PagedList<T>
: IPagedList<T>, IEnumerable<T>, IEnumerable, IPaging
TypeNameDescription
List<T>subsetCurrent subset of the whole list according to specified PageIndex and PageSize
TypeNameDescription
Int64PageCountGets the total number of pages in result.
Int64PageIndexGets the index of the page (started from 1).
Int64PageSizeGets the size of the page.
Int64TotalRecordsGets the total number of records in result.
TypeNameDescription
IEnumerator<T>GetEnumerator()Returns an enumerator that iterates through the collection.