1 write to _dataflowBlockOptions
System.Threading.Tasks.Dataflow (1)
Blocks\JoinBlock.cs (1)
1039
_dataflowBlockOptions
= dataflowBlockOptions;
19 references to _dataflowBlockOptions
System.Threading.Tasks.Dataflow (19)
Blocks\JoinBlock.cs (19)
505
GroupingDataflowBlockOptions dbo = sharedResources.
_dataflowBlockOptions
;
516
if (_sharedResources.
_dataflowBlockOptions
.Greedy)
547
if (_sharedResources.
_dataflowBlockOptions
.Greedy)
575
return !_sharedResources.
_dataflowBlockOptions
.Greedy ? _nonGreedy!.PostponedMessages.Count : _messages!.Count;
584
Debug.Assert(_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only valid in greedy mode");
601
Debug.Assert(!_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only used in non-greedy mode");
641
Debug.Assert(!_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only used in non-greedy mode");
683
Debug.Assert(_sharedResources.
_dataflowBlockOptions
.Greedy, "This is only used in greedy mode");
729
int messageCount = _sharedResources.
_dataflowBlockOptions
.Greedy ?
732
if ((_sharedResources._joinsCreated + messageCount) >= _sharedResources.
_dataflowBlockOptions
.ActualMaxNumberOfGroups)
835
if (_sharedResources.
_dataflowBlockOptions
.Greedy &&
885
bool greedy = _sharedResources.
_dataflowBlockOptions
.Greedy;
1133
if (
_dataflowBlockOptions
.Greedy && targetCanConsumePostponedMessages && (boundingCapacityAvailable || !target.HasTheHighestNumberOfMessagesAvailable)) return true;
1224
return
_dataflowBlockOptions
.CancellationToken.IsCancellationRequested || _hasExceptions;
1279
Exception? exception = Common.StartTaskSafe(_taskForInputProcessing,
_dataflowBlockOptions
.TaskScheduler);
1343
Debug.Assert(!
_dataflowBlockOptions
.Greedy || _boundingState != null, "This only makes sense in non-greedy or bounding mode");
1348
int maxMessagesPerTask =
_dataflowBlockOptions
.ActualMaxMessagesPerTask;
1355
madeProgress = !
_dataflowBlockOptions
.Greedy ?
1370
if (!
_dataflowBlockOptions
.Greedy && _boundingState != null) _boundingState.CurrentCount += 1;