Class PagedResult<T>
- Namespace
- Dynamicweb.Core
- Assembly
- Dynamicweb.Core.dll
Represents a paged result set for a collection of items.
public sealed class PagedResult<T>
Type Parameters
TThe type of items in the result set.
- Inheritance
-
PagedResult<T>
- Inherited Members
Properties
CurrentPage
Gets the current page number (1-based).
public int CurrentPage { get; init; }
Property Value
Items
Gets the items for the current page.
public IEnumerable<T> Items { get; init; }
Property Value
- IEnumerable<T>
PageCount
Gets the total number of pages available.
public int PageCount { get; init; }
Property Value
TotalCount
Gets the total number of items across all pages.
public int TotalCount { get; init; }