4 references to AttemptAcquire
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\BasePolicy.cs (1)
48
var lease = _limiter.
AttemptAcquire
();
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestPartitionedRateLimiter.cs (1)
43
var lease = limiter.
AttemptAcquire
();
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (1)
79
return GetRateLimiter(resource).
AttemptAcquire
(permitCount);
System\Threading\RateLimiting\RateLimiter.cs (1)
48
/// Method that <see cref="RateLimiter"/> implementations implement for <see cref="
AttemptAcquire
"/>.