Interface ITransformStageWithProgress<TSource, TProgress>
- Namespace
- Wolfgang.Etl.Abstractions
- Assembly
- Wolfgang.Etl.Abstractions.dll
An ITransformStage<TSource> whose underlying transformer also supports progress
reporting. Call WithProgress(IProgress<TProgress>) to supply an IProgress<T>
sink that will be forwarded to the transformer's TransformAsync overload when the
pipeline runs.
public interface ITransformStageWithProgress<TSource, out TProgress> : ITransformStage<TSource> where TSource : notnull where TProgress : notnull
Type Parameters
TSourceThe current item type flowing through the pipeline.
TProgressThe type of progress report emitted by the transformer.
- Inherited Members
Methods
WithProgress(IProgress<TProgress>)
Supplies an IProgress<T> sink that the pipeline will pass to the
transformer's TransformAsync overload when the pipeline runs. The returned stage
is a plain ITransformStage<TSource> — progress can only be set once.
ITransformStage<TSource> WithProgress(IProgress<out TProgress> progress)
Parameters
progressIProgress<TProgress>The progress sink to forward reports to.
Returns
- ITransformStage<TSource>
The same stage, typed as ITransformStage<TSource>.
Exceptions
- ArgumentNullException
progressis null.