Interface IPullApiClient<TContent, TPublish>
Interface for an API client that can pull information to publish with.
Namespace: Tableau.Migration.Api
Assembly: Tableau.Migration.dll
Syntax
public interface IPullApiClient<TContent, TPublish> where TPublish : class
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
TPublish | The publish type. |
Methods
PullAsync(TContent, CancellationToken)
Pulls enough information to publish the content item.
Declaration
Task<IResult<TPublish>> PullAsync(TContent contentItem, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
TContent | contentItem | The content item to pull. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult<TPublish>> | The result of the pull operation with the item to publish. |