1 write to _dataflowBlockOptions
System.Threading.Tasks.Dataflow (1)
Blocks\JoinBlock.cs (1)
1054
_dataflowBlockOptions
= dataflowBlockOptions;
19 references to _dataflowBlockOptions
System.Threading.Tasks.Dataflow (19)
Blocks\JoinBlock.cs (19)
517
GroupingDataflowBlockOptions dbo = sharedResources.
_dataflowBlockOptions
;
528
if (_sharedResources.
_dataflowBlockOptions
.Greedy)
559
if (_sharedResources.
_dataflowBlockOptions
.Greedy)
587
return !_sharedResources.
_dataflowBlockOptions
.Greedy ? _nonGreedy!.PostponedMessages.Count : _messages!.Count;
596
Debug.Assert(_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only valid in greedy mode");
613
Debug.Assert(!_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only used in non-greedy mode");
653
Debug.Assert(!_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only used in non-greedy mode");
695
Debug.Assert(_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only used in greedy mode");
741
int messageCount = _sharedResources.
_dataflowBlockOptions
.Greedy ?
744
if ((_sharedResources._joinsCreated + messageCount) >= _sharedResources.
_dataflowBlockOptions
.ActualMaxNumberOfGroups)
847
if (_sharedResources.
_dataflowBlockOptions
.Greedy &&
897
bool greedy = _sharedResources.
_dataflowBlockOptions
.Greedy;
1148
if (
_dataflowBlockOptions
.Greedy && targetCanConsumePostponedMessages && (boundingCapacityAvailable || !target.HasTheHighestNumberOfMessagesAvailable)) return true;
1239
return
_dataflowBlockOptions
.CancellationToken.IsCancellationRequested || _hasExceptions;
1294
Exception? exception = Common.StartTaskSafe(_taskForInputProcessing,
_dataflowBlockOptions
.TaskScheduler);
1358
Debug.Assert(!
_dataflowBlockOptions
.Greedy || _boundingState != null, "This only makes sense in non-greedy or bounding mode");
1363
int maxMessagesPerTask =
_dataflowBlockOptions
.ActualMaxMessagesPerTask;
1370
madeProgress = !
_dataflowBlockOptions
.Greedy ?
1385
if (!
_dataflowBlockOptions
.Greedy && _boundingState != null) _boundingState.CurrentCount += 1;