Class SourceContentItemPreparer<TContent>
IContentItemPreparer<TContent, TPublish> implementation that publishes the source item as-is and does not require extra pulled information.
Inheritance
object
ContentItemPreparerBase<TContent, TContent, TContent>
SourceContentItemPreparer<TContent, TContent>
SourceContentItemPreparer<TContent>
Implements
IContentItemPreparer<TContent, TContent>
Inherited Members
Namespace: Tableau.Migration.Engine.Preparation
Assembly: Tableau.Migration.dll
Syntax
public class SourceContentItemPreparer<TContent> : SourceContentItemPreparer<TContent, TContent>, IContentItemPreparer<TContent, TContent> where TContent : class, IContentReference
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type.The pull return type.The publish type.The content type.The pull return type.The publish type. |
Constructors
SourceContentItemPreparer(IMigrationPipeline, IMigrationHookRunner, IContentTransformerRunner, IDestinationContentReferenceFinderFactory, ILogger<SourceContentItemPreparer<TContent>>, ISharedResourcesLocalizer)
Creates a new SourceContentItemPreparer<TContent>.
Declaration
public SourceContentItemPreparer(IMigrationPipeline pipeline, IMigrationHookRunner hooks, IContentTransformerRunner transformers, IDestinationContentReferenceFinderFactory destinationFinderFactory, ILogger<SourceContentItemPreparer<TContent>> logger, ISharedResourcesLocalizer localizer)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationPipeline | pipeline | |
| IMigrationHookRunner | hooks | |
| IContentTransformerRunner | transformers | |
| IDestinationContentReferenceFinderFactory | destinationFinderFactory | |
| ILogger<SourceContentItemPreparer<TContent>> | logger | |
| ISharedResourcesLocalizer | localizer |