Title here
Summary here
Define your own destination block. This block accepts all data from the flow and sends each incoming row to your custom Action, along with a count of processed rows.
Name | Description |
---|---|
TInput | Type of ingoing data. |
List<MyRow> rows = new List<MyRow>();
var dest = new CustomDestination<MyRow>();
dest.WriteAction = (row, progressCount) => rows.Add(row);
Type | Name | Description |
---|---|---|
Action<TInput, int> | writeAction | Sets the WriteAction |
Each row that the CustomDestination receives is send into this Action as first input value. The second input value is the current progress count.
Type | Description |
---|---|
Action<TInput, int> |
Type | Name | Description |
---|---|---|
Exception | e |