8 instantiations of QueuePolicyOptions
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (8)
PolicyTests\StackPolicyTests.cs (6)
13var stack = new StackPolicy(Options.Create(new QueuePolicyOptions 38var stack = new StackPolicy(Options.Create(new QueuePolicyOptions 67var stack = new StackPolicy(Options.Create(new QueuePolicyOptions 86var stack = new StackPolicy(Options.Create(new QueuePolicyOptions 110var stack = new StackPolicy(Options.Create(new QueuePolicyOptions 137var stack = new StackPolicy(Options.Create(new QueuePolicyOptions
TestUtils.cs (2)
48var options = Options.Create(new QueuePolicyOptions 59var options = Options.Create(new QueuePolicyOptions
8 references to QueuePolicyOptions
Microsoft.AspNetCore.ConcurrencyLimiter (8)
QueuePolicies\BasePolicy.cs (2)
19public BasePolicy(IOptions<QueuePolicyOptions> options, QueueProcessingOrder order) 21var queuePolicyOptions = options.Value;
QueuePolicies\QueuePolicy.cs (1)
11public QueuePolicy(IOptions<QueuePolicyOptions> options)
QueuePolicies\QueuePolicyServiceCollectionExtensions.cs (4)
18/// Mandatory, since <see cref="QueuePolicyOptions.MaxConcurrentRequests"></see> must be provided.</param> 20public static IServiceCollection AddQueuePolicy(this IServiceCollection services, Action<QueuePolicyOptions> configure) 32/// Mandatory, since <see cref="QueuePolicyOptions.MaxConcurrentRequests"></see> must be provided.</param> 34public static IServiceCollection AddStackPolicy(this IServiceCollection services, Action<QueuePolicyOptions> configure)
QueuePolicies\StackPolicy.cs (1)
11public StackPolicy(IOptions<QueuePolicyOptions> options)