1 instantiation of FixedWindowRateLimiter
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
151return new FixedWindowRateLimiter(options);
16 references to FixedWindowRateLimiter
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
44/// Registers a new <see cref="FixedWindowRateLimiter"/> with the given <see cref="FixedWindowRateLimiterOptions"/> to the application.
System.Threading.RateLimiting (15)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (8)
45/// Initializes the <see cref="FixedWindowRateLimiter"/>. 47/// <param name="options">Options to specify the behavior of the <see cref="FixedWindowRateLimiter"/>.</param> 273FixedWindowRateLimiter limiter = (state as FixedWindowRateLimiter)!; 419throw new ObjectDisposedException(nameof(FixedWindowRateLimiter)); 463public RequestRegistration(int permitCount, FixedWindowRateLimiter limiter, CancellationToken cancellationToken) 487var limiter = (FixedWindowRateLimiter)registration.Task.AsyncState!;
System\Threading\RateLimiting\FixedWindowRateLimiterOptions.cs (6)
7/// Options to specify the behavior of a <see cref="FixedWindowRateLimiter"/>. 13/// Must be set to a value greater than <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="FixedWindowRateLimiter"/>. 18/// Specified whether the <see cref="FixedWindowRateLimiter"/> is automatically refresh counters or if someone else 19/// will be calling <see cref="FixedWindowRateLimiter.TryReplenish"/> to refresh counters. 28/// Must be set to a value > 0 by the time these options are passed to the constructor of <see cref="FixedWindowRateLimiter"/>. 42/// Must be set to a value >= 0 by the time these options are passed to the constructor of <see cref="FixedWindowRateLimiter"/>.
System\Threading\RateLimiting\RateLimitPartition.cs (1)
123/// Defines a partition with a <see cref="FixedWindowRateLimiter"/> with the given <see cref="FixedWindowRateLimiterOptions"/>.