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)
45
}, 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);
559
public IDisposable LinkTo(ITargetBlock<TOutput> target, DataflowLinkOptions linkOptions) { return
_source
.LinkTo(target, linkOptions); }
562
public bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item) { return
_source
.TryReceive(filter, out item); }
565
public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) { return
_source
.TryReceiveAll(out items); }
568
public Task Completion { get { return
_source
.Completion; } }
574
public int OutputCount { get { return
_source
.OutputCount; } }
585
return
_source
.ConsumeMessage(messageHeader, target, out messageConsumed);
591
return
_source
.ReserveMessage(messageHeader, target);
597
_source
.ReleaseReservation(messageHeader, target);
603
private int OutputCountForDebugger { get { return
_source
.GetDebuggingInformation().OutputCount; } }
606
public override string ToString() { return Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions); }
610
$"{Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions)}, InputCount = {InputCountForDebugger}, OutputCount = {OutputCountForDebugger}";
632
_sourceDebuggingInformation = transformManyBlock.
_source
.GetDebuggingInformation();
Blocks\TransformManyBlock.IAsyncEnumerable.cs (4)
228
_source
.AddMessage(item);
234
_source
.AddMessage(item);
254
_source
.AddMessage(item);
263
_source
.AddMessage(item);