Class ManifestSourceContentReferenceFinderFactory
IContentReferenceFinderFactory implementation that finds source references from the migration manifest.
Inheritance
object
ManifestSourceContentReferenceFinderFactory
Namespace: Tableau.Migration.Engine.Endpoints.Search
Assembly: Tableau.Migration.dll
Syntax
public class ManifestSourceContentReferenceFinderFactory : ISourceContentReferenceFinderFactory, IContentReferenceFinderFactory
Constructors
ManifestSourceContentReferenceFinderFactory(IServiceProvider)
Creates a new ManifestSourceContentReferenceFinderFactory object.
Declaration
public ManifestSourceContentReferenceFinderFactory(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. |
ForSourceContentType<TContent>()
Gets or creates a source content reference finder for a given content type.
Declaration
public virtual ISourceContentReferenceFinder<TContent> ForSourceContentType<TContent>() where TContent : class, IContentReference
Returns
| Type | Description |
|---|---|
| ISourceContentReferenceFinder<TContent> | The content reference finder. |
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |