Title here
Summary here
This transformation allow you to transform one row of your input data into multiple rows.
public class RowMultiplication<TInput, TOutput> : DataFlowTransformation<TInput, TOutput>, IDataFlowTransformation<TInput, TOutput>, IDataFlowSource<TOutput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Name | Description |
---|---|
TInput | Type of ingoing data. |
TOutput | Type of outgoing data. |
public RowMultiplication()
public RowMultiplication(Func<TInput, IEnumerable<TOutput>> multiplicationFunc)
Type | Name | Description |
---|---|---|
Func<TInput, IEnumerable<TOutput>> | multiplicationFunc | Sets the MultiplicationFunc |
The transformation func that produces multiple rows for each ingoing row.
public Func<TInput, IEnumerable<TOutput>> MultiplicationFunc { get; set; }
Type | Description |
---|---|
Func<TInput, IEnumerable<TOutput>> |
SourceBlock from the underlying TPL.Dataflow which is used as output buffer for the component.
public override ISourceBlock<TOutput> SourceBlock { get; }
Type | Description |
---|---|
ISourceBlock<TOutput> |
TargetBlock from the underlying TPL.Dataflow which is used as input buffer for the component.
public override ITargetBlock<TInput> TargetBlock { get; }
Type | Description |
---|---|
ITargetBlock<TInput> |
protected override void CheckParameter()
protected override void CleanUpOnFaulted(Exception e)
Type | Name | Description |
---|---|---|
Exception | e |
protected override void CleanUpOnSuccess()
protected override void InitComponent()