Class BulkPostPublishHookBase<TSource>
Base class for IBulkPostPublishHook<TSource> implementations.
Inheritance
object
BulkPostPublishHookBase<TSource>
Namespace: Tableau.Migration.Engine.Hooks.PostPublish
Assembly: Tableau.Migration.dll
Syntax
public abstract class BulkPostPublishHookBase<TSource> : IBulkPostPublishHook<TSource>, IMigrationHook<BulkPostPublishContext<TSource>>
Type Parameters
| Name | Description |
|---|---|
| TSource |
Methods
ExecuteAsync(BulkPostPublishContext<TSource>, CancellationToken)
Executes a hook callback.
Declaration
public abstract Task<BulkPostPublishContext<TSource>?> ExecuteAsync(BulkPostPublishContext<TSource> ctx, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| BulkPostPublishContext<TSource> | ctx | The input context from the migration engine or previous hook. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<BulkPostPublishContext<TSource>> | 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 |