1 write to _source
System.Threading.Tasks.Dataflow (1)
Blocks\TransformBlock.cs (1)
109
_source
= new SourceCore<TOutput>(this, dataflowBlockOptions,
20 references to _source
System.Threading.Tasks.Dataflow (20)
Blocks\TransformBlock.cs (20)
42
private object ParallelSourceLock { get { return
_source
; } }
117
_reorderingBuffer = new ReorderingBuffer<TOutput>(this, static (owningSource, message) => ((TransformBlock<TInput, TOutput>)owningSource).
_source
.AddMessage(message));
145
},
_source
, CancellationToken.None, Common.GetContinuationOptions(), TaskScheduler.Default);
151
_source
.Completion.ContinueWith(static (completed, state) =>
205
_source
.AddMessage(outputItem!);
211
_source
.AddMessage(outputItem!);
309
_source
.AddMessage(outputItem!);
315
_source
.AddMessage(outputItem!);
343
return
_source
.LinkTo(target, linkOptions);
349
return
_source
.TryReceive(filter, out item);
353
public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) { return
_source
.TryReceiveAll(out items); }
356
public Task Completion { get { return
_source
.Completion; } }
362
public int OutputCount { get { return
_source
.OutputCount; } }
373
return
_source
.ConsumeMessage(messageHeader, target, out messageConsumed);
379
return
_source
.ReserveMessage(messageHeader, target);
385
_source
.ReleaseReservation(messageHeader, target);
391
private int OutputCountForDebugger { get { return
_source
.GetDebuggingInformation().OutputCount; } }
394
public override string ToString() { return Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions); }
398
$"{Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions)}, InputCount = {InputCountForDebugger}, OutputCount = {OutputCountForDebugger}";
420
_sourceDebuggingInformation = transformBlock.
_source
.GetDebuggingInformation();