Table of Contents

Class BoundedPropagatorBlock<I, O>

Namespace
CounterpointCollective.Dataflow
Assembly
Dataflow.Composable.dll

A wrapper that enforces a BoundedCapacity on an arbitrary IPropagatorBlock<TInput, TOutput>. See also its base class BoundedTargetBlock<T>.

public class BoundedPropagatorBlock<I, O> : BoundedTargetBlock<I>, IReceivableSourceBlock<O>, IResizablePropagatorBlock<I, O>, IPropagatorBlock<I, O>, ISourceBlock<O>, ITargetBlock<I>, IDataflowBlock

Type Parameters

I
O
Inheritance
AbstractEncapsulatedDataflowBlock
AbstractEncapsulatedTargetBlock<I>
BoundedPropagatorBlock<I, O>
Implements
Inherited Members
Extension Methods

Constructors

BoundedPropagatorBlock(IPropagatorBlock<I, O>, int, Action?, Action?)

public BoundedPropagatorBlock(IPropagatorBlock<I, O> inner, int boundedCapacity = -1, Action? onEntering = null, Action? onEntered = null)

Parameters

inner IPropagatorBlock<I, O>
boundedCapacity int
onEntering Action
onEntered Action

BoundedPropagatorBlock(ITargetBlock<I>, ISourceBlock<O>, int, Action?, Action?)

public BoundedPropagatorBlock(ITargetBlock<I> entrance, ISourceBlock<O> exit, int boundedCapacity = -1, Action? onEntering = null, Action? onEntered = null)

Parameters

entrance ITargetBlock<I>
exit ISourceBlock<O>
boundedCapacity int
onEntering Action
onEntered Action