9 references to PartitionedRateLimiter
Microsoft.AspNetCore.RateLimiting (4)
RateLimiterOptionsExtensions.cs (3)
24
/// Setting <see cref="TokenBucketRateLimiterOptions.AutoReplenishment"/> will have no effect here, as the <see cref="
PartitionedRateLimiter
"/> that this limiter is added to
53
/// Setting <see cref="FixedWindowRateLimiterOptions.AutoReplenishment"/> will have no effect here, as the <see cref="
PartitionedRateLimiter
"/> that this limiter is added to
82
/// Setting <see cref="SlidingWindowRateLimiterOptions.AutoReplenishment"/> will have no effect here, as the <see cref="
PartitionedRateLimiter
"/> that this limiter is added to
RateLimitingMiddleware.cs (1)
255
return
PartitionedRateLimiter
.Create<HttpContext, DefaultKeyType>(context =>
RateLimitingSample (1)
Program.cs (1)
37
options.GlobalLimiter =
PartitionedRateLimiter
.Create<HttpContext, string>(context =>
System.Threading.RateLimiting (4)
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (1)
203
throw new ObjectDisposedException(nameof(
PartitionedRateLimiter
));
System\Threading\RateLimiting\RateLimitPartition.cs (1)
7
/// Contains methods used in <see cref="
PartitionedRateLimiter
.Create"/> to assist in the creation of partitions for your rate limiter.
System\Threading\RateLimiting\RateLimitPartition.T.cs (2)
7
/// Type returned by <see cref="RateLimitPartition.Get"/> methods to be used by <see cref="
PartitionedRateLimiter
.Create"/> to know what partitions are configured.
13
/// Constructs the <see cref="RateLimitPartition{TKey}"/> for use in <see cref="
PartitionedRateLimiter
.Create"/>.