Class MappedReferenceExtractRefreshTaskTransformer
Transformer that maps the workbook/data source from a given extract refresh task.
Inheritance
MappedReferenceExtractRefreshTaskTransformer
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Transformers.Default
Assembly: Tableau.Migration.dll
Syntax
public class MappedReferenceExtractRefreshTaskTransformer : ContentTransformerBase<ICloudExtractRefreshTask>, IContentTransformer<ICloudExtractRefreshTask>, IMigrationHook<ICloudExtractRefreshTask>
Constructors
MappedReferenceExtractRefreshTaskTransformer(IDestinationContentReferenceFinderFactory, ISharedResourcesLocalizer, ILogger<MappedReferenceExtractRefreshTaskTransformer>)
Creates a new MappedReferenceExtractRefreshTaskTransformer object.
Declaration
public MappedReferenceExtractRefreshTaskTransformer(IDestinationContentReferenceFinderFactory destinationFinderFactory, ISharedResourcesLocalizer localizer, ILogger<MappedReferenceExtractRefreshTaskTransformer> logger)
Parameters
Type | Name | Description |
---|---|---|
IDestinationContentReferenceFinderFactory | destinationFinderFactory | Destination content finder factory object. |
ISharedResourcesLocalizer | localizer | A string localizer. |
ILogger<MappedReferenceExtractRefreshTaskTransformer> | logger | The logger used to log messages. |
Methods
TransformAsync(ICloudExtractRefreshTask, CancellationToken)
Executes the transformation.
Declaration
public override Task<ICloudExtractRefreshTask?> TransformAsync(ICloudExtractRefreshTask extractRefreshTask, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
ICloudExtractRefreshTask | extractRefreshTask | |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<ICloudExtractRefreshTask> | A task to await containing the context,
potentially modified to pass on to the next hook or migration engine,
or null to continue passing the same context as |