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