Class TrashTarget<TInput>
A dataflow worker with one Input
port, that consumes and discards all incoming rows.
Note: Use the factory methods in TrashTargetFactory to create instances of this class.
Implements
Inherited Members
Namespace: actionETL
Assembly: actionETL.dll
Syntax
public class TrashTarget<TInput> : WorkerBase<TrashTarget<TInput>>, IDisposeOnFinished where TInput : class
Type Parameters
Name | Description |
---|---|
TInput | The type of each |
Properties
Input
Gets the input port for receiving rows from an upstream worker.
Declaration
public InputPort<TInput> Input { get; }
Property Value
Type | Description |
---|---|
InputPort<TInput> |
Methods
RunAsync()
This method can be overridden to add custom functionality to the derived worker that runs before
and after the row processing. In this case, the base class base.RunAsync()
must
be called for the worker to function correctly.
Typically, this worker is used without overriding this method.
Declaration
protected override async Task<OutcomeStatus> RunAsync()
Returns
Type | Description |
---|---|
Task<OutcomeStatus> | A |