15 references to ActionSelectorCandidate
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ActionSelector.cs (1)
123
candidates.Add(new
ActionSelectorCandidate
(action, constraints));
Routing\ActionConstraintMatcherPolicy.cs (1)
146
items.Add((i, new
ActionSelectorCandidate
(actionDescriptor ?? NonAction, constraints)));
Microsoft.AspNetCore.Mvc.Core.Test (12)
ActionConstraints\HttpMethodActionConstraintTest.cs (1)
60
var actionSelectorCandidate = new
ActionSelectorCandidate
(new ActionDescriptor(), new List<IActionConstraint> { constraint });
ConsumesAttributeTests.cs (11)
94
new
ActionSelectorCandidate
(action, new [] { constraint }),
128
new
ActionSelectorCandidate
(action1, new [] { constraint1 }),
166
new
ActionSelectorCandidate
(action1, new [] { constraint1 }),
202
new
ActionSelectorCandidate
(actionWithConstraint, new [] { constraint1 }),
203
new
ActionSelectorCandidate
(actionWithConstraint2, new [] { constraint2 }),
204
new
ActionSelectorCandidate
(actionWithoutConstraint, new List<IActionConstraint>()),
241
new
ActionSelectorCandidate
(actionWithConstraint, new [] { constraint1 }),
242
new
ActionSelectorCandidate
(actionWithConstraint2, new [] { constraint2 }),
243
new
ActionSelectorCandidate
(actionWithoutConstraint, new List<IActionConstraint>()),
281
new
ActionSelectorCandidate
(actionWithConstraint, new [] { constraint1 }),
282
new
ActionSelectorCandidate
(actionWithConstraint2, new [] { constraint2 }),
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsHttpMethodActionConstraintTest.cs (1)
76
var actionSelectorCandidate = new
ActionSelectorCandidate
(new ActionDescriptor(), new List<IActionConstraint> { constraint });