Interface IDestinationContentReferenceFinder<TContent>
Interface for an object that can find destination content reference for given content information, applying mapping rules.
Inherited Members
Namespace: Tableau.Migration.Engine.Endpoints.Search
Assembly: Tableau.Migration.dll
Syntax
public interface IDestinationContentReferenceFinder<TContent> : IContentReferenceFinder<TContent>, IContentReferenceFinder where TContent : IContentReference
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
Methods
FindByMappedLocationAsync(ContentLocation, CancellationToken)
Finds the destination content reference for the mapped destination content reference location.
Declaration
Task<IContentReference?> FindByMappedLocationAsync(ContentLocation mappedLocation, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
ContentLocation | mappedLocation | The destination mapped content reference location. |
CancellationToken | cancel | A cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IContentReference> | The found destination content reference, or null if no content reference was found. |
FindBySourceContentUrlAsync(string, CancellationToken)
Finds the destination content reference for the source content reference URL.
Declaration
Task<IContentReference?> FindBySourceContentUrlAsync(string sourceContentUrl, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
string | sourceContentUrl | The source content reference URL. |
CancellationToken | cancel | A cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IContentReference> | The found destination content reference, or null if no content reference was found. |
FindBySourceIdAsync(Guid, CancellationToken)
Finds the destination content reference for the source content reference unique identifier.
Declaration
Task<IContentReference?> FindBySourceIdAsync(Guid sourceId, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
Guid | sourceId | The source content reference unique identifier. |
CancellationToken | cancel | A cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IContentReference> | The found destination content reference, or null if no content reference was found. |
FindBySourceLocationAsync(ContentLocation, CancellationToken)
Finds the destination 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 destination content reference, or null if no content reference was found. |