Interface IContentBatchMigrator<TContent>
Interface for an object that migrates a batch of content items.
Namespace: Tableau.Migration.Engine.Migrators.Batch
Assembly: Tableau.Migration.dll
Syntax
public interface IContentBatchMigrator<TContent> where TContent : class, IContentReference
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
Methods
MigrateAsync(ImmutableArray<ContentMigrationItem<TContent>>, CancellationToken)
Migrates a batch of content items.
Declaration
Task<IContentBatchMigrationResult<TContent>> MigrateAsync(ImmutableArray<ContentMigrationItem<TContent>> itemBatch, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
ImmutableArray<ContentMigrationItem<TContent>> | itemBatch | The batch of content items to migrate. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IContentBatchMigrationResult<TContent>> | The results of the batch migration. |