2 instantiations of ConcurrencyLimiter
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\BasePolicy.cs (1)
35_limiter = new Limiter(new LimiterOptions
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
39return Get(partitionKey, key => new ConcurrencyLimiter(factory(key)));
15 references to ConcurrencyLimiter
Microsoft.AspNetCore.ConcurrencyLimiter (2)
QueuePolicies\BasePolicy.cs (2)
7using Limiter = System.Threading.RateLimiting.ConcurrencyLimiter; 14private readonly Limiter _limiter;
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
102/// Registers a new <see cref="ConcurrencyLimiter"/> with the given <see cref="ConcurrencyLimiterOptions"/> to the application.
System.Threading.RateLimiting (12)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (8)
39/// Initializes the <see cref="ConcurrencyLimiter"/>. 41/// <param name="options">Options to specify the behavior of the <see cref="ConcurrencyLimiter"/>.</param> 363throw new ObjectDisposedException(nameof(ConcurrencyLimiter)); 372private readonly ConcurrencyLimiter? _limiter; 376public ConcurrencyLease(bool isAcquired, ConcurrencyLimiter? limiter, int count, string? reason = null) 426public RequestRegistration(int permitCount, ConcurrencyLimiter limiter, CancellationToken cancellationToken) 450var limiter = (ConcurrencyLimiter)registration.Task.AsyncState!;
System\Threading\RateLimiting\ConcurrencyLimiterOptions.cs (3)
7/// Options to specify the behavior of a <see cref="ConcurrencyLimiter"/>. 13/// Must be set to a value > 0 by the time these options are passed to the constructor of <see cref="ConcurrencyLimiter"/>. 27/// Must be set to a value >= 0 by the time these options are passed to the constructor of <see cref="ConcurrencyLimiter"/>.
System\Threading\RateLimiting\RateLimitPartition.cs (1)
29/// Defines a partition with a <see cref="ConcurrencyLimiter"/> with the given <see cref="ConcurrencyLimiterOptions"/>.