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