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

Class AsyncPaginationResult<T>

Result from an async paginated method.

Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Async
Assembly: EPiServer.Framework.dll
Version: 9.12.2
Syntax
public class AsyncPaginationResult<T>
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