6 references to TestRateLimitLease
Microsoft.AspNetCore.RateLimiting.Tests (6)
TestPartitionedRateLimiter.cs (4)
54
return new
TestRateLimitLease
(false, null);
57
return new
TestRateLimitLease
(true, leases);
79
return new
TestRateLimitLease
(false, null);
82
return new
TestRateLimitLease
(true, leases);
TestRateLimiter.cs (2)
26
return new
TestRateLimitLease
(_alwaysAccept, null);
32
return new ValueTask<RateLimitLease>(new
TestRateLimitLease
(_alwaysAccept, null));