1 write to _limiters
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (1)
23_limiters = limiters;
7 references to _limiters
System.Threading.RateLimiting (7)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (7)
33foreach (PartitionedRateLimiter<TResource> limiter in _limiters) 59for (int i = 0; i < _limiters.Length; i++) 65lease = _limiters[i].AttemptAcquire(resource, permitCount); 71RateLimitLease? notAcquiredLease = CommonAcquireLogic(exception, lease, ref leases, i, _limiters.Length); 85for (int i = 0; i < _limiters.Length; i++) 91lease = await _limiters[i].AcquireAsync(resource, permitCount, cancellationToken).ConfigureAwait(false); 97RateLimitLease? notAcquiredLease = CommonAcquireLogic(exception, lease, ref leases, i, _limiters.Length);