4 instantiations of ConcurrencyLimiterOptions
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\BasePolicy.cs (1)
35_limiter = new Limiter(new LimiterOptions
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
115var concurrencyLimiterOptions = new ConcurrencyLimiterOptions();
RateLimitingSample (1)
Program.cs (1)
39return RateLimitPartition.GetConcurrencyLimiter<string>("globalLimiter", key => new ConcurrencyLimiterOptions
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (1)
55_options = new ConcurrencyLimiterOptions
10 references to ConcurrencyLimiterOptions
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\BasePolicy.cs (1)
8using LimiterOptions = System.Threading.RateLimiting.ConcurrencyLimiterOptions;
Microsoft.AspNetCore.RateLimiting (4)
RateLimiterOptionsExtensions.cs (4)
102/// Registers a new <see cref="ConcurrencyLimiter"/> with the given <see cref="ConcurrencyLimiterOptions"/> to the application. 108/// <param name="configureOptions">A callback to configure the <see cref="ConcurrencyLimiterOptions"/> to be used for the limiter.</param> 110public static RateLimiterOptions AddConcurrencyLimiter(this RateLimiterOptions options, string policyName, Action<ConcurrencyLimiterOptions> configureOptions) 115var concurrencyLimiterOptions = new ConcurrencyLimiterOptions();
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (2)
24private readonly ConcurrencyLimiterOptions _options; 40public ConcurrencyLimiter(ConcurrencyLimiterOptions options)
System\Threading\RateLimiting\RateLimitPartition.cs (3)
29/// Defines a partition with a <see cref="ConcurrencyLimiter"/> with the given <see cref="ConcurrencyLimiterOptions"/>. 33/// <param name="factory">The function called when a rate limiter for the given <paramref name="partitionKey"/> is needed. This can return the same instance of <see cref="ConcurrencyLimiterOptions"/> across different calls.</param> 37Func<TKey, ConcurrencyLimiterOptions> factory)