Class ParallelContentBatchMigratorBatchBase<TContent, TPublish>
Abstract base class for IContentBatchMigrator<TContent> implementations that migrates items in parallel.
Inheritance
ContentBatchMigratorBase<TContent, TPublish>
ParallelContentBatchMigratorBatchBase<TContent, TPublish>
Implements
IContentBatchMigrator<TContent>
Inherited Members
Namespace: Tableau.Migration.Engine.Migrators.Batch
Assembly: Tableau.Migration.dll
Syntax
public abstract class ParallelContentBatchMigratorBatchBase<TContent, TPublish> : ContentBatchMigratorBase<TContent, TPublish>, IContentBatchMigrator<TContent> where TContent : class, IContentReference where TPublish : class
Type Parameters
Name | Description |
---|---|
TContent | The content type. |
TPublish | The publish type. |
Constructors
ParallelContentBatchMigratorBatchBase(IMigrationPipeline, IConfigReader)
Creates a new ParallelContentBatchMigratorBatchBase<TContent, 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 |