Interface ISourceContentReferenceFinder<TContent>
Interface for an object that can find source content reference.
Inherited Members
Namespace: Tableau.Migration.Engine.Endpoints.Search
Assembly: Tableau.Migration.dll
Syntax
public interface ISourceContentReferenceFinder<TContent> : IContentReferenceFinder<TContent>, IContentReferenceFinder where TContent : IContentReference
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
Methods
FindBySourceLocationAsync(ContentLocation, CancellationToken)
Finds the source content reference for the source content reference location.
Declaration
Task<IContentReference?> FindBySourceLocationAsync(ContentLocation sourceLocation, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
ContentLocation | sourceLocation | The source content reference location. |
CancellationToken | cancel | A cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IContentReference> | The found source content reference, or null if no content reference was found. |