Class GroupSetGroupsTransformer
Transformer that maps the groups from a given group set.
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Transformers.Default
Assembly: Tableau.Migration.dll
Syntax
public class GroupSetGroupsTransformer : ContentTransformerBase<IPublishableGroupSet>, IContentTransformer<IPublishableGroupSet>, IMigrationHook<IPublishableGroupSet>
Constructors
GroupSetGroupsTransformer(IDestinationContentReferenceFinderFactory, ISharedResourcesLocalizer, ILogger<GroupSetGroupsTransformer>)
Creates a new GroupSetGroupsTransformer object.
Declaration
public GroupSetGroupsTransformer(IDestinationContentReferenceFinderFactory destinationFinderFactory, ISharedResourcesLocalizer localizer, ILogger<GroupSetGroupsTransformer> logger)
Parameters
Type | Name | Description |
---|---|---|
IDestinationContentReferenceFinderFactory | destinationFinderFactory | The destination finder factory. |
ISharedResourcesLocalizer | localizer | |
ILogger<GroupSetGroupsTransformer> | logger |
Methods
TransformAsync(IPublishableGroupSet, CancellationToken)
Executes the transformation.
Declaration
public override Task<IPublishableGroupSet?> TransformAsync(IPublishableGroupSet sourceGroupSet, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
IPublishableGroupSet | sourceGroupSet | |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IPublishableGroupSet> | 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 |
Overrides
ContentTransformerBase<IPublishableGroupSet>.TransformAsync(IPublishableGroupSet, CancellationToken)