Class SourceContentReferenceFinderFactory
IContentReferenceFinderFactory implementation that finds source references from the migration manifest.
Inheritance
object
SourceContentReferenceFinderFactory
Namespace: Tableau.Migration.Engine.Endpoints.Search
Assembly: Tableau.Migration.dll
Syntax
public class SourceContentReferenceFinderFactory : ISourceContentReferenceFinderFactory, IContentReferenceFinderFactory
Constructors
SourceContentReferenceFinderFactory(IMigration)
Creates a new SourceContentReferenceFinderFactory object.
Declaration
public SourceContentReferenceFinderFactory(IMigration migration)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigration | migration | The migration. |
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. |