Class DestinationContentReferenceFinderFactory
IContentReferenceFinderFactory implementation that finds destination references from the migration manifest.
Inheritance
object
DestinationContentReferenceFinderFactory
Namespace: Tableau.Migration.Engine.Endpoints.Search
Assembly: Tableau.Migration.dll
Syntax
public class DestinationContentReferenceFinderFactory : IDestinationContentReferenceFinderFactory, IContentReferenceFinderFactory
Constructors
DestinationContentReferenceFinderFactory(IMigration)
Creates a new DestinationContentReferenceFinderFactory object.
Declaration
public DestinationContentReferenceFinderFactory(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. |
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. |