14 implementations of ConsumeMessage
System.Threading.Tasks.Dataflow (14)
Base\DataflowBlock.cs (3)
169
T? ISourceBlock<T>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<T> target, out bool messageConsumed)
642
TOutput? ISourceBlock<TOutput>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<TOutput> target, out bool messageConsumed)
1627
public TOutput?
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<TOutput> target, out bool messageConsumed)
Blocks\BatchBlock.cs (1)
158
T[]? ISourceBlock<T[]>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<T[]> target, out bool messageConsumed)
Blocks\BatchedJoinBlock.cs (2)
176
Tuple<IList<T1>, IList<T2>>? ISourceBlock<Tuple<IList<T1>, IList<T2>>>.
ConsumeMessage
(
433
Tuple<IList<T1>, IList<T2>, IList<T3>>? ISourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>.
ConsumeMessage
(
Blocks\BroadcastBlock.cs (1)
421
T? ISourceBlock<T>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<T> target, out bool messageConsumed)
Blocks\BufferBlock.cs (1)
204
T? ISourceBlock<T>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<T> target, out bool messageConsumed)
Blocks\JoinBlock.cs (2)
169
Tuple<T1, T2>? ISourceBlock<Tuple<T1, T2>>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<Tuple<T1, T2>> target, out bool messageConsumed)
399
Tuple<T1, T2, T3>? ISourceBlock<Tuple<T1, T2, T3>>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<Tuple<T1, T2, T3>> target, out bool messageConsumed)
Blocks\TransformBlock.cs (1)
377
TOutput? ISourceBlock<TOutput>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<TOutput> target, out bool messageConsumed)
Blocks\TransformManyBlock.cs (1)
583
TOutput? ISourceBlock<TOutput>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<TOutput> target, out bool messageConsumed)
Blocks\WriteOnceBlock.cs (1)
387
T? ISourceBlock<T>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<T> target, out bool messageConsumed)
Internal\TargetRegistry.cs (1)
328
T? ISourceBlock<T>.
ConsumeMessage
(DataflowMessageHeader messageHeader, ITargetBlock<T> target, out bool messageConsumed)
21 references to ConsumeMessage
System.Threading.Tasks.Dataflow (21)
Base\DataflowBlock.cs (5)
174
return _source.
ConsumeMessage
(messageHeader, this, out messageConsumed);
1201
T? acceptedValue = consumeToAccept ? source!.
ConsumeMessage
(messageHeader, this, out consumed) : messageValue;
1629
return _source.
ConsumeMessage
(messageHeader, target, out messageConsumed);
2195
messageValue = source!.
ConsumeMessage
(messageHeader, this, out consumed)!;
2708
source.
ConsumeMessage
(messageHeader, this, out messageConsumed);
Blocks\BatchBlock.cs (3)
384
messageValue = source.
ConsumeMessage
(messageHeader, _owningBatch, out consumed)!;
999
T? consumedValue = sourceAndMessage.Key.
ConsumeMessage
(sourceAndMessage.Value.Key, _owningBatch, out consumed);
1051
T? consumedValue = sourceAndMessage.Key.
ConsumeMessage
(sourceAndMessage.Value.Key, _owningBatch, out consumed);
Blocks\BatchedJoinBlock.cs (1)
589
messageValue = source.
ConsumeMessage
(messageHeader, this, out consumed)!;
Blocks\BroadcastBlock.cs (2)
197
messageValue = source.
ConsumeMessage
(messageHeader, this, out consumed)!;
356
T? consumedValue = sourceAndMessage.Key.
ConsumeMessage
(sourceAndMessage.Value, this, out consumed);
Blocks\BufferBlock.cs (2)
122
messageValue = source.
ConsumeMessage
(messageHeader, this, out consumed)!;
359
T? consumedValue = sourceAndMessage.Key.
ConsumeMessage
(sourceAndMessage.Value, this, out consumed);
Blocks\JoinBlock.cs (3)
657
T? consumedValue = _nonGreedy.ReservedMessage.Key.
ConsumeMessage
(_nonGreedy.ReservedMessage.Value, this, out consumed);
718
T? consumedValue = next.Key.
ConsumeMessage
(next.Value, this, out consumed);
858
messageValue = source.
ConsumeMessage
(messageHeader, this, out consumed)!;
Blocks\WriteOnceBlock.cs (1)
364
messageValue = source!.
ConsumeMessage
(messageHeader, this, out consumed)!;
Internal\SpscTargetCore.cs (1)
144
messageValue = source.
ConsumeMessage
(messageHeader, _owningTarget, out consumed)!;
Internal\TargetCore.cs (2)
211
messageValue = source.
ConsumeMessage
(messageHeader, _owningTarget, out consumed)!;
671
TInput? consumedValue = element.Key.
ConsumeMessage
(element.Value, _owningTarget, out consumed);
Internal\TargetRegistry.cs (1)
330
return _owningSource.
ConsumeMessage
(messageHeader, this, out messageConsumed);