5 instantiations of ConcurrencyLease
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (5)
27private static readonly ConcurrencyLease SuccessfulLease = new ConcurrencyLease(true, null, 0);
28private static readonly ConcurrencyLease FailedLease = new ConcurrencyLease(false, null, 0);
29private static readonly ConcurrencyLease QueueLimitLease = new ConcurrencyLease(false, null, 0, "Queue limit reached");
219lease = new ConcurrencyLease(true, this, permitCount);
285ConcurrencyLease lease = nextPendingRequest.Count == 0 ? SuccessfulLease : new ConcurrencyLease(true, this, nextPendingRequest.Count);
4 references to ConcurrencyLease
System.Threading.RateLimiting (4)