1 write to Count
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
479
Count
= permitCount;
10 references to Count
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (10)
184
_queueCount -= oldestRequest.
Count
;
197
_queueCount += oldestRequest.
Count
;
340
else if (_permitCount >= nextPendingRequest.
Count
)
348
_queueCount -= nextPendingRequest.
Count
;
349
_permitCount -= nextPendingRequest.
Count
;
350
_requestsPerSegment[_currentSegmentIndex] += nextPendingRequest.
Count
;
356
_permitCount += nextPendingRequest.
Count
;
357
_requestsPerSegment[_currentSegmentIndex] -= nextPendingRequest.
Count
;
367
_queueCount += nextPendingRequest.
Count
;
508
limiter._queueCount -= registration.
Count
;