6 instantiations of TestQueue
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (6)
MiddlewareTests.cs (3)
84var testQueue = new TestQueue( 107var testQueue = new TestQueue( 131var testQueue = new TestQueue(
TestUtils.cs (3)
103new TestQueue((_) => false); 106new TestQueue((_) => true); 109new TestQueue(async (_) =>
14 references to TestQueue
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (14)
MiddlewareTests.cs (8)
18queue: TestQueue.AlwaysTrue, 35queue: TestQueue.AlwaysFalse, 52queue: TestQueue.AlwaysFalse, 65var testQueue = TestQueue.AlwaysBlock; 84var testQueue = new TestQueue( 107var testQueue = new TestQueue( 131var testQueue = new TestQueue(
TestUtils.cs (6)
72private Func<TestQueue, Task<bool>> _onTryEnter { get; } 78public TestQueue(Func<TestQueue, Task<bool>> onTryEnter, Action onExit = null) 84public TestQueue(Func<TestQueue, bool> onTryEnter, Action onExit = null) : 102public static TestQueue AlwaysFalse = 105public static TestQueue AlwaysTrue = 108public static TestQueue AlwaysBlock =