Class EncryptExtractTransformer<TIExtractContent>
Transformer that encrypts extracts based on the site's encryption mode.
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Transformers.Default
Assembly: Tableau.Migration.dll
Syntax
public class EncryptExtractTransformer<TIExtractContent> : ContentTransformerBase<TIExtractContent>, IContentTransformer<TIExtractContent>, IMigrationHook<TIExtractContent> where TIExtractContent : IContentReference, IExtractContent
Type Parameters
Name | Description |
---|---|
TIExtractContent |
Constructors
EncryptExtractTransformer(ISharedResourcesLocalizer, ILogger<IContentTransformer<TIExtractContent>>, IMigration)
Creates a new EncryptExtractTransformer
Declaration
public EncryptExtractTransformer(ISharedResourcesLocalizer localizer, ILogger<IContentTransformer<TIExtractContent>> logger, IMigration migration)
Parameters
Type | Name | Description |
---|---|---|
ISharedResourcesLocalizer | localizer | |
ILogger<IContentTransformer<TIExtractContent>> | logger | |
IMigration | migration |
Methods
TransformAsync(TIExtractContent, CancellationToken)
Executes the transformation.
Declaration
public override Task<TIExtractContent?> TransformAsync(TIExtractContent itemToTransform, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
TIExtractContent | itemToTransform | The input context from the migration engine or previous hook. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<TIExtractContent> | 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 |