November Happy Hour will be moved to Thursday December 5th.

Class AsyncPaginationResult<T>

Result from an async paginated method.

Namespace: EPiServer.Async
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public class AsyncPaginationResult<T> : Object
Type Parameters
Name Description
T

The type of individual items in the paginated result.

Constructors

AsyncPaginationResult(IEnumerable<T>, Int64)

Creates a new instance of .Wait()

Declaration
public AsyncPaginationResult(IEnumerable<T> pagedResult, long totalCount)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> pagedResult

The current paged result

System.Int64 totalCount

The total number of matched result

Properties

PagedResult

The current result set in the pagination.

Declaration
public IEnumerable<T> PagedResult { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T>

TotalCount

Total number of matched results.

Declaration
public long TotalCount { get; set; }
Property Value
Type Description
System.Int64

Extension Methods