1 write to _limiters
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (1)
23
_limiters
= (PartitionedRateLimiter<TResource>[])limiters.Clone();
7 references to _limiters
System.Threading.RateLimiting (7)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (7)
35
foreach (PartitionedRateLimiter<TResource> limiter in
_limiters
)
65
for (int i = 0; i <
_limiters
.Length; i++)
72
lease =
_limiters
[i].AttemptAcquire(resource, permitCount);
79
RateLimitLease? notAcquiredLease = ChainedRateLimiter.CommonAcquireLogic(exception, lease, ref leases, i,
_limiters
.Length);
96
for (int i = 0; i <
_limiters
.Length; i++)
103
lease = await
_limiters
[i].AcquireAsync(resource, permitCount, cancellationToken).ConfigureAwait(false);
110
RateLimitLease? notAcquiredLease = ChainedRateLimiter.CommonAcquireLogic(exception, lease, ref leases, i,
_limiters
.Length);