Class RowMultiplication<TInput, TOutput>

This transformation allow you to transform one row of your input data into multiple rows.

Inheritance
object
DataFlowTransformation<TInput, TOutput>
RowMultiplication<TInput, TOutput>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public class RowMultiplication<TInput, TOutput> : DataFlowTransformation<TInput, TOutput>, IDataFlowLogging, ILoggableTask, IDataFlowTransformation<TInput, TOutput>, IDataFlowSource<TOutput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent
Type Parameters
NameDescription
TInput

Type of ingoing data.

TOutput

Type of outgoing data.

Constructors

RowMultiplication()

Declaration
    public RowMultiplication()

RowMultiplication(Func<TInput, IEnumerable<TOutput>>)

Declaration
    public RowMultiplication(Func<TInput, IEnumerable<TOutput>> multiplicationFunc)
Parameters
TypeNameDescription
System.Func<T, TResult><TInput, System.Collections.Generic.IEnumerable<T><TOutput>>multiplicationFunc

Sets the MultiplicationFunc

Properties

MultiplicationFunc

The transformation func that produces multiple rows for each ingoing row.

Declaration
    public Func<TInput, IEnumerable<TOutput>> MultiplicationFunc { get; set; }
Property Value
TypeDescription
System.Func<T, TResult><TInput, System.Collections.Generic.IEnumerable<T><TOutput>>

SourceBlock

SourceBlock from the underlying TPL.Dataflow which is used as output buffer for the component.

Declaration
    public override ISourceBlock<TOutput> SourceBlock { get; }
Property Value
TypeDescription
ISourceBlock<><TOutput>
Overrides
ETLBox.DataFlow.DataFlowSource<TOutput>.SourceBlock

TargetBlock

TargetBlock from the underlying TPL.Dataflow which is used as input buffer for the component.

Declaration
    public override ITargetBlock<TInput> TargetBlock { get; }
Property Value
TypeDescription
ITargetBlock<><TInput>
Overrides
ETLBox.DataFlow.DataFlowTransformation<TInput, TOutput>.TargetBlock

TaskName

A name to identify the task or component. Every component or task comes with a default name that can be overwritten.

Declaration
    public override string TaskName { get; set; }
Property Value
TypeDescription
string
Overrides

Methods

CheckParameter()

Declaration
    protected override void CheckParameter()
Overrides

CleanUpOnFaulted(Exception)

Declaration
    protected override void CleanUpOnFaulted(Exception e)
Parameters
TypeNameDescription
System.Exceptione
Overrides

CleanUpOnSuccess()

Declaration
    protected override void CleanUpOnSuccess()
Overrides

InitComponent()

Declaration
    protected override void InitComponent()
Overrides

Implements