11 instantiations of ActionConstraintContext
Microsoft.AspNetCore.Mvc.Core (3)
ConsumesAttribute.cs (1)
203var tempContext = new ActionConstraintContext()
Infrastructure\ActionSelector.cs (1)
182var constraintContext = new ActionConstraintContext
Routing\ActionConstraintMatcherPolicy.cs (1)
194var constraintContext = new ActionConstraintContext
Microsoft.AspNetCore.Mvc.Core.Test (7)
ActionConstraints\HttpMethodActionConstraintTest.cs (1)
58var context = new ActionConstraintContext();
ConsumesAttributeTests.cs (6)
91var context = new ActionConstraintContext(); 125var context = new ActionConstraintContext(); 163var context = new ActionConstraintContext(); 199var context = new ActionConstraintContext(); 238var context = new ActionConstraintContext(); 278var context = new ActionConstraintContext();
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsHttpMethodActionConstraintTest.cs (1)
74var context = new ActionConstraintContext();
32 references to ActionConstraintContext
BasicWebSite (1)
RequestScopedActionConstraint.cs (1)
44bool IActionConstraint.Accept(ActionConstraintContext context)
Microsoft.AspNetCore.Mvc.Abstractions (2)
ActionConstraints\IActionConstraint.cs (2)
51/// <param name="context">The <see cref="ActionConstraintContext"/>.</param> 53bool Accept(ActionConstraintContext context);
Microsoft.AspNetCore.Mvc.Core (6)
ActionConstraints\ActionMethodSelectorAttribute.cs (1)
20public bool Accept(ActionConstraintContext context)
ActionConstraints\HttpMethodActionConstraint.cs (1)
59public virtual bool Accept(ActionConstraintContext context)
ConsumesAttribute.cs (2)
149public bool Accept(ActionConstraintContext context) 203var tempContext = new ActionConstraintContext()
Infrastructure\ActionSelector.cs (1)
182var constraintContext = new ActionConstraintContext
Routing\ActionConstraintMatcherPolicy.cs (1)
194var constraintContext = new ActionConstraintContext
Microsoft.AspNetCore.Mvc.Core.Test (14)
ActionConstraints\ActionConstraintCacheTest.cs (1)
136public bool Accept(ActionConstraintContext context)
ActionConstraints\HttpMethodActionConstraintTest.cs (4)
30var context = CreateActionConstraintContext(constraint); 46var context = CreateActionConstraintContext(constraint); 56private static ActionConstraintContext CreateActionConstraintContext(HttpMethodActionConstraint constraint) 58var context = new ActionConstraintContext();
ConsumesAttributeTests.cs (8)
91var context = new ActionConstraintContext(); 122constraint2.Setup(o => o.Accept(It.IsAny<ActionConstraintContext>())) 125var context = new ActionConstraintContext(); 160constraint2.Setup(o => o.Accept(It.IsAny<ActionConstraintContext>())) 163var context = new ActionConstraintContext(); 199var context = new ActionConstraintContext(); 238var context = new ActionConstraintContext(); 278var context = new ActionConstraintContext();
Infrastructure\ActionSelectorTest.cs (1)
1149public bool Accept(ActionConstraintContext context)
Microsoft.AspNetCore.Mvc.Cors (1)
CorsHttpMethodActionConstraint.cs (1)
20public override bool Accept(ActionConstraintContext context)
Microsoft.AspNetCore.Mvc.Cors.Test (5)
CorsHttpMethodActionConstraintTest.cs (5)
31var context = CreateActionConstraintContext(constraint); 46var context = CreateActionConstraintContext(constraint); 62var context = CreateActionConstraintContext(constraint); 72private static ActionConstraintContext CreateActionConstraintContext(IActionConstraint constraint) 74var context = new ActionConstraintContext();
Microsoft.AspNetCore.Mvc.Test (2)
Routing\ActionConstraintMatcherPolicyTest.cs (2)
504public bool Accept(ActionConstraintContext context) 516public bool Accept(ActionConstraintContext context)
VersioningWebSite (1)
VersionRangeValidator.cs (1)
26public bool Accept(ActionConstraintContext context)