Interface IContentMappingRunner
Interface for an object that can run mappings.
Namespace: Tableau.Migration.Engine.Hooks.Mappings
Assembly: Tableau.Migration.dll
Syntax
public interface IContentMappingRunner
Methods
ExecuteAsync<TContent>(ContentMappingContext<TContent>, CancellationToken)
Executes all mappings for the content type in order.
Declaration
Task<ContentMappingContext<TContent>> ExecuteAsync<TContent>(ContentMappingContext<TContent> context, CancellationToken cancel) where TContent : IContentReference
Parameters
| Type | Name | Description |
|---|---|---|
| ContentMappingContext<TContent> | context | The mapping context. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<ContentMappingContext<TContent>> | The result context with the mapped content location. |
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |