[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.MoveToPageAsync

MoveToPageAsync Method

MoveToPageAsync<T>(IDataCollection<T>, int, CancellationToken)

Moves to the page pageIndex.

Declaration
public static Task MoveToPageAsync<T>(this IDataCollection<T> dataCollection, int pageIndex, CancellationToken cancellationToken) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

int pageIndex

The index of the page.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task
Type Parameters
Name Description
T