1 write to Count
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
478
Count
= permitCount;
10 references to Count
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (10)
183
_queueCount -= oldestRequest.
Count
;
196
_queueCount += oldestRequest.
Count
;
339
else if (_permitCount >= nextPendingRequest.
Count
)
347
_queueCount -= nextPendingRequest.
Count
;
348
_permitCount -= nextPendingRequest.
Count
;
349
_requestsPerSegment[_currentSegmentIndex] += nextPendingRequest.
Count
;
355
_permitCount += nextPendingRequest.
Count
;
356
_requestsPerSegment[_currentSegmentIndex] -= nextPendingRequest.
Count
;
366
_queueCount += nextPendingRequest.
Count
;
507
limiter._queueCount -= registration.
Count
;