Class ApiContentReferenceFinderFactory
IContentReferenceFinderFactory implementation that makes API calls, intended for use when the API client is used without a migration engine.
Implements
Namespace: Tableau.Migration.Api.Search
Assembly: Tableau.Migration.dll
Syntax
public class ApiContentReferenceFinderFactory : IContentReferenceFinderFactory
Constructors
ApiContentReferenceFinderFactory(IServiceProvider)
Creates a new ApiContentReferenceFinderFactory object.
Declaration
public ApiContentReferenceFinderFactory(IServiceProvider services)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | services | A service provider. |
Methods
ForContentType<TContent>()
Gets or creates a content reference finder for a given content type.
Declaration
public IContentReferenceFinder<TContent> ForContentType<TContent>() where TContent : class, IContentReference
Returns
Type | Description |
---|---|
IContentReferenceFinder<TContent> | The content reference finder. |
Type Parameters
Name | Description |
---|---|
TContent | The content type. |