Skip to main content

IPagedResult<T>

An interface in Alta.Api.Client, Alta.Api.Client.LowLevel.

A paged list result from the Alta web API, fetched one page at a time.

Properties​

MemberWhat it is
bool HasNext { get; }Whether there is another page to fetch.
IEnumerable<T> Results { get; }The results fetched so far.

Methods​

MemberWhat it is
Task<IEnumerable<T>> GetAllAsync()Fetches every remaining page and returns all the results.
Task<IEnumerable<T>> GetNextAsync()Fetches the next page.

Used in​

Members of other types that take, return or hold a IPagedResult&lt;T>: