8 references to Get
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimitingMiddlewareTests.cs (1)
190
return RateLimitPartition.
Get
<string>("myLimiter", (key =>
TestRateLimiterPolicy.cs (1)
30
return RateLimitPartition.
Get
<string>(_key, (key =>
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\RateLimitPartition.cs (5)
39
return
Get
(partitionKey, key => new ConcurrencyLimiter(factory(key)));
51
return
Get
(partitionKey, _ => new NoopLimiter());
68
return
Get
(partitionKey, key =>
102
return
Get
(partitionKey, key =>
136
return
Get
(partitionKey, key =>
System\Threading\RateLimiting\RateLimitPartition.T.cs (1)
7
/// Type returned by <see cref="RateLimitPartition.
Get
"/> methods to be used by <see cref="PartitionedRateLimiter.Create"/> to know what partitions are configured.