Skip to main content

PaginatedList<T>

An abstract class in Alta.Api.Client, Alta.Api.Client.HighLevel.

Base for a paged list from the API, such as group members, bans, invites and join requests. Calls Alta's web API, which no longer answers.

Constructors​

MemberWhat it is
protected PaginatedList(IPagedResult<T> page, LowLevelApiClient api)Creates a PaginatedList from page and api.

Fields​

MemberWhat it is
protected LowLevelApiClient apiThe low-level client subclasses send their own requests through.
1 private and internal field
MemberWhat it is
private readonly IPagedResult<T> pageThe paged result being read.

Methods​

MemberWhat it is
Task<IEnumerable<T>> GetAll()Fetches every remaining page and returns all items.
Task<IEnumerable<T>> GetNext()Fetches the next page.