Interface IContentMigrator<TContent>
Interface for an object that can migrate content for a specific content type.
Namespace: Tableau.Migration.Engine.Migrators
Assembly: Tableau.Migration.dll
Syntax
public interface IContentMigrator<TContent> where TContent : class, IContentReference
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
Methods
MigrateAsync(CancellationToken)
Migrates content for the given content type.
Declaration
Task<IResult> MigrateAsync(CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult> | A task to await. |