3 writes to _source
System.Threading.Tasks.Dataflow (3)
Blocks\TransformManyBlock.cs (2)
71
Initialize(messageWithId => ProcessMessage(transform, messageWithId), dataflowBlockOptions, ref
_source
, ref _target, ref _reorderingBuffer, TargetCoreOptions.None);
95
Initialize(messageWithId => ProcessMessageWithTask(transform, messageWithId), dataflowBlockOptions, ref
_source
, ref _target, ref _reorderingBuffer, TargetCoreOptions.UsesAsyncCompletion);
Blocks\TransformManyBlock.IAsyncEnumerable.cs (1)
42
}, dataflowBlockOptions, ref
_source
, ref _target, ref _reorderingBuffer, TargetCoreOptions.UsesAsyncCompletion);
25 references to _source
System.Threading.Tasks.Dataflow (25)
Blocks\TransformManyBlock.cs (21)
47
private object ParallelSourceLock { get { return
_source
; } }
128
this, static (source, messages) => ((TransformManyBlock<TInput, TOutput>)source).
_source
.AddMessages(messages));
247
_source
.DataflowBlockOptions.TaskScheduler);
444
_source
.AddMessages(outputItems);
450
_source
.AddMessages(outputItems);
489
_source
.AddMessage(item);
495
_source
.AddMessage(item);
511
_source
.AddMessage(item);
519
_source
.AddMessage(item);
556
public IDisposable LinkTo(ITargetBlock<TOutput> target, DataflowLinkOptions linkOptions) { return
_source
.LinkTo(target, linkOptions); }
559
public bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item) { return
_source
.TryReceive(filter, out item); }
562
public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) { return
_source
.TryReceiveAll(out items); }
565
public Task Completion { get { return
_source
.Completion; } }
571
public int OutputCount { get { return
_source
.OutputCount; } }
582
return
_source
.ConsumeMessage(messageHeader, target, out messageConsumed);
588
return
_source
.ReserveMessage(messageHeader, target);
594
_source
.ReleaseReservation(messageHeader, target);
600
private int OutputCountForDebugger { get { return
_source
.GetDebuggingInformation().OutputCount; } }
603
public override string ToString() { return Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions); }
607
$"{Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions)}, InputCount = {InputCountForDebugger}, OutputCount = {OutputCountForDebugger}";
629
_sourceDebuggingInformation = transformManyBlock.
_source
.GetDebuggingInformation();
Blocks\TransformManyBlock.IAsyncEnumerable.cs (4)
225
_source
.AddMessage(item);
231
_source
.AddMessage(item);
251
_source
.AddMessage(item);
260
_source
.AddMessage(item);