Class OrderPreservingChoiceBlock<TInput, TOutput>
- Namespace
- CounterpointCollective.Dataflow
- Assembly
- Dataflow.Composable.dll
public class OrderPreservingChoiceBlock<TInput, TOutput> : AbstractEncapsulatedPropagatorBlock<TInput, TOutput>, IReceivableSourceBlock<TOutput>, IResizablePropagatorBlock<TInput, TOutput>, IPropagatorBlock<TInput, TOutput>, ISourceBlock<TOutput>, ITargetBlock<TInput>, IDataflowBlock
Type Parameters
TInputTOutput
- Inheritance
-
AbstractEncapsulatedSourceBlock<TOutput>AbstractEncapsulatedPropagatorBlock<TInput, TOutput>OrderPreservingChoiceBlock<TInput, TOutput>
- Implements
-
IReceivableSourceBlock<TOutput>IResizablePropagatorBlock<TInput, TOutput>IPropagatorBlock<TInput, TOutput>ISourceBlock<TOutput>ITargetBlock<TInput>
- Inherited Members
- Extension Methods
Constructors
OrderPreservingChoiceBlock(Predicate<TInput>, IPropagatorBlock<TInput, TOutput>, IPropagatorBlock<TInput, TOutput>, ExecutionDataflowBlockOptions?)
public OrderPreservingChoiceBlock(Predicate<TInput> predicate, IPropagatorBlock<TInput, TOutput> thenBlock, IPropagatorBlock<TInput, TOutput> elseBlock, ExecutionDataflowBlockOptions? options = null)
Parameters
predicatePredicate<TInput>thenBlockIPropagatorBlock<TInput, TOutput>elseBlockIPropagatorBlock<TInput, TOutput>optionsExecutionDataflowBlockOptions
Properties
BoundedCapacity
public int BoundedCapacity { get; set; }
Property Value
Count
public int Count { get; }
Property Value
InputCount
public int InputCount { get; }
Property Value
OutputCount
public int OutputCount { get; }
Property Value
SourceSide
protected override ISourceBlock<TOutput> SourceSide { get; }
Property Value
- ISourceBlock<TOutput>
TargetSide
protected override ITargetBlock<TInput> TargetSide { get; }
Property Value
- ITargetBlock<TInput>