Title here
Summary here
A multicast broadcast data from the input into two or more outputs. Every linked component will receive a copy of the rows that the Multicast receives. There is no limit how many target the Multicast can be linked to.
public class Multicast<TInput> : DataFlowTransformation<TInput, TInput>, IDataFlowTransformation<TInput, TInput>, IDataFlowSource<TInput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Name | Description |
---|---|
TInput | Type of ingoing data. |
Multicast<MyDataRow> multicast = new Multicast<MyDataRow>();
multicast.LinkTo(dest1);
multicast.LinkTo(dest2);
multicast.LinkTo(dest3);
public Multicast()
public Func<TInput, TInput> CustomCloningStrategy { get; set; }
Type | Description |
---|---|
Func<TInput, TInput> |
SourceBlock from the underlying TPL.Dataflow which is used as output buffer for the component.
public override ISourceBlock<TInput> SourceBlock { get; }
Type | Description |
---|---|
ISourceBlock<TInput> |
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()
protected override void Reset()