3 implementations of IQueuePolicy
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\BasePolicy.cs (1)
12internal class BasePolicy : IQueuePolicy, IDisposable
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (2)
MiddlewareTests.cs (1)
200private class TestQueueForValueTask : IQueuePolicy
TestUtils.cs (1)
70internal class TestQueue : IQueuePolicy
6 references to IQueuePolicy
Microsoft.AspNetCore.ConcurrencyLimiter (5)
ConcurrencyLimiterMiddleware.cs (2)
16private readonly IQueuePolicy _queuePolicy; 28public ConcurrencyLimiterMiddleware(RequestDelegate next, ILoggerFactory loggerFactory, IQueuePolicy queue, IOptions<ConcurrencyLimiterOptions> options)
QueuePolicies\QueuePolicyOptions.cs (1)
7/// Specifies options for the <see cref="IQueuePolicy"/>
QueuePolicies\QueuePolicyServiceCollectionExtensions.cs (2)
23services.AddSingleton<IQueuePolicy, QueuePolicy>(); 37services.AddSingleton<IQueuePolicy, StackPolicy>();
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (1)
TestUtils.cs (1)
13public static ConcurrencyLimiterMiddleware CreateTestMiddleware(IQueuePolicy queue = null, RequestDelegate onRejected = null, RequestDelegate next = null)