Class GroupAdjacentBlock<T, K, V>
- Namespace
- CounterpointCollective.Dataflow
- Assembly
- Dataflow.Composable.dll
public class GroupAdjacentBlock<T, K, V> : AbstractEncapsulatedPropagatorBlock<T, IGrouping<K, V>>, IReceivableSourceBlock<IGrouping<K, V>>, IPropagatorBlock<T, IGrouping<K, V>>, ISourceBlock<IGrouping<K, V>>, ITargetBlock<T>, IDataflowBlock
Type Parameters
TKV
- Inheritance
-
AbstractEncapsulatedSourceBlock<IGrouping<K, V>>AbstractEncapsulatedPropagatorBlock<T, IGrouping<K, V>>GroupAdjacentBlock<T, K, V>
- Implements
-
IReceivableSourceBlock<IGrouping<K, V>>IPropagatorBlock<T, IGrouping<K, V>>ISourceBlock<IGrouping<K, V>>ITargetBlock<T>
- Inherited Members
- Extension Methods
Constructors
GroupAdjacentBlock(Func<T, K>, Func<T, V>, ExecutionDataflowBlockOptions, bool)
public GroupAdjacentBlock(Func<T, K> keySelector, Func<T, V> valueSelector, ExecutionDataflowBlockOptions options, bool flushOnIdle = false)
Parameters
keySelectorFunc<T, K>valueSelectorFunc<T, V>optionsExecutionDataflowBlockOptionsflushOnIdlebool
Properties
Count
public int Count { get; }