Class ManifestDestinationContentReferenceFinderFactory
IContentReferenceFinderFactory implementation that finds destination references from the migration manifest.
Namespace: Tableau.Migration.Engine.Endpoints.Search
Assembly: Tableau.Migration.dll
Syntax
public class ManifestDestinationContentReferenceFinderFactory : IDestinationContentReferenceFinderFactory, IContentReferenceFinderFactory
Constructors
ManifestDestinationContentReferenceFinderFactory(IServiceProvider)
Creates a new ManifestDestinationContentReferenceFinderFactory object.
Declaration
public ManifestDestinationContentReferenceFinderFactory(IServiceProvider services)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | services | A DI service provider to create finders with. |
Methods
ForContentType<TContent>()
Gets or creates a content reference finder for a given content type.
Declaration
public virtual 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. |
ForDestinationContentType<TContent>()
Gets or creates a destination content reference finder for a given content type.
Declaration
public virtual IDestinationContentReferenceFinder<TContent> ForDestinationContentType<TContent>() where TContent : class, IContentReference
Returns
Type | Description |
---|---|
IDestinationContentReferenceFinder<TContent> | The content reference finder. |
Type Parameters
Name | Description |
---|---|
TContent | The content type. |