1 write to _source
System.Threading.Tasks.Dataflow (1)
Blocks\BatchedJoinBlock.cs (1)
67
_source
= new SourceCore<Tuple<IList<T1>, IList<T2>>>(
19 references to _source
System.Threading.Tasks.Dataflow (19)
Blocks\BatchedJoinBlock.cs (19)
77
_source
.AddMessage(Tuple.Create(_target1.GetAndEmptyMessages(), _target2!.GetAndEmptyMessages()));
88
_source
.Complete();
90
_source
.AddException,
99
_source
.Completion.ContinueWith(static (completed, state) =>
108
dataflowBlockOptions.CancellationToken,
_source
.Completion, static (state, _) => ((BatchedJoinBlock<T1, T2>)state!).CompleteEachTarget(), this);
128
return
_source
.LinkTo(target, linkOptions);
134
return
_source
.TryReceive(filter, out item);
138
public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<IList<T1>, IList<T2>>>? items) { return
_source
.TryReceiveAll(out items); }
141
public int OutputCount { get { return
_source
.OutputCount; } }
144
public Task Completion { get { return
_source
.Completion; } }
166
Debug.Assert(
_source
!= null, "_source not initialized");
170
if (!_sharedResources._decliningPermanently)
_source
.AddException(exception);
179
return
_source
.ConsumeMessage(messageHeader, target, out messageConsumed);
186
return
_source
.ReserveMessage(messageHeader, target);
193
_source
.ReleaseReservation(messageHeader, target);
206
private int OutputCountForDebugger { get { return
_source
.GetDebuggingInformation().OutputCount; } }
209
public override string ToString() { return Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions); }
213
$"{Common.GetNameForDebugger(this,
_source
.DataflowBlockOptions)}, BatchSize = {BatchSize}, OutputCount = {OutputCountForDebugger}";
232
_sourceDebuggingInformation = batchedJoinBlock.
_source
.GetDebuggingInformation();