Class ParallelContentBatchMigratorBatchBase<TContent, TPrepare, TPublish>
Abstract base class for IContentBatchMigrator<TContent> implementations that migrates items in parallel.
Inheritance
object
ContentBatchMigratorBase<TContent, TPrepare, TPublish>
ParallelContentBatchMigratorBatchBase<TContent, TPrepare, TPublish>
Implements
IContentBatchMigrator<TContent>
Inherited Members
Namespace: Tableau.Migration.Engine.Migrators.Batch
Assembly: Tableau.Migration.dll
Syntax
public abstract class ParallelContentBatchMigratorBatchBase<TContent, TPrepare, TPublish> : ContentBatchMigratorBase<TContent, TPrepare, TPublish>, IContentBatchMigrator<TContent> where TContent : class, IContentReference where TPrepare : class where TPublish : class
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type.The pulled type to prepare.The publish type. |
| TPrepare | The content type.The pulled type to prepare.The publish type. |
| TPublish | The content type.The pulled type to prepare.The publish type. |
Constructors
ParallelContentBatchMigratorBatchBase(IMigrationPipeline, IConfigReader)
Creates a new ParallelContentBatchMigratorBatchBase<TContent, TPrepare, TPublish> object.
Declaration
public ParallelContentBatchMigratorBatchBase(IMigrationPipeline pipeline, IConfigReader configReader)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationPipeline | pipeline | The pipeline to use to get the item preparer. |
| IConfigReader | configReader | The configuration reader. |
Methods
MigrateBatchAsync(ContentMigrationBatch<TContent, TPublish>)
Migrates the batch of content items.
Declaration
protected override Task MigrateBatchAsync(ContentMigrationBatch<TContent, TPublish> batch)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentMigrationBatch<TContent, TPublish> | batch | The batch to migrate. |
Returns
| Type | Description |
|---|---|
| Task |