Class MigrateContentAction<TContent>
Default IMigrateContentAction<TContent> implementation.
Namespace: Tableau.Migration.Engine.Actions
Assembly: Tableau.Migration.dll
Syntax
public class MigrateContentAction<TContent> : IMigrateContentAction<TContent>, IMigrationAction where TContent : class, IContentReference
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
Constructors
MigrateContentAction(IMigrationPipeline)
Creates a new MigrateContentAction<TContent> object.
Declaration
public MigrateContentAction(IMigrationPipeline pipeline)
Parameters
Type | Name | Description |
---|---|---|
IMigrationPipeline | pipeline | A pipeline to use to get the content migrator. |
Methods
ExecuteAsync(CancellationToken)
Executes the migration action.
Declaration
public Task<IMigrationActionResult> ExecuteAsync(CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IMigrationActionResult> | An awaitable task for the overall action result. |