Interface IScopedApiClientFactory
Interface for an object that can initialize the current scope and create scoped IApiClient objects.
Namespace: Tableau.Migration.Api
Assembly: Tableau.Migration.dll
Syntax
public interface IScopedApiClientFactory
Methods
Initialize(TableauSiteConnectionConfiguration, IContentReferenceFinderFactory?, IContentFileStore?)
Initializes the scoped API client configuration and creates an API client.
Declaration
IApiClient Initialize(TableauSiteConnectionConfiguration scopedSiteConnection, IContentReferenceFinderFactory? finderFactoryOverride = null, IContentFileStore? fileStoreOverride = null)
Parameters
Type | Name | Description |
---|---|---|
TableauSiteConnectionConfiguration | scopedSiteConnection | The site connection configuration to use in the current DI scope. |
IContentReferenceFinderFactory | finderFactoryOverride | A content reference finder factory to use in place of the default. |
IContentFileStore | fileStoreOverride | A file store to use in place of the default. |
Returns
Type | Description |
---|---|
IApiClient | The created API client. |