Interface IApiPageAccessor<TContent>
Interface for an object that can list a single page of the content items the user has access to.
Inherited Members
Namespace: Tableau.Migration.Api
Assembly: Tableau.Migration.dll
Syntax
public interface IApiPageAccessor<TContent> : IContentApiClientType Parameters
| Name | Description | 
|---|---|
| TContent | The content type. | 
Methods
GetPageAsync(int, int, CancellationToken)
Gets a single page of the content items that the user has access to.
Declaration
Task<IPagedResult<TContent>> GetPageAsync(int pageNumber, int pageSize, CancellationToken cancel)Parameters
| Type | Name | Description | 
|---|---|---|
| int | pageNumber | The 1-indexed page number for the page to list. | 
| int | pageSize | The expected maximum number of items to include in the page. | 
| CancellationToken | cancel | The cancellation token to obey. | 
Returns
| Type | Description | 
|---|---|
| Task<IPagedResult<TContent>> | The paged results. |