9 implementations of Accept
BasicWebSite (1)
RequestScopedActionConstraint.cs (1)
44bool IActionConstraint.Accept(ActionConstraintContext context)
Microsoft.AspNetCore.Mvc.Core (3)
ActionConstraints\ActionMethodSelectorAttribute.cs (1)
20public bool Accept(ActionConstraintContext context)
ActionConstraints\HttpMethodActionConstraint.cs (1)
59public virtual bool Accept(ActionConstraintContext context)
ConsumesAttribute.cs (1)
149public bool Accept(ActionConstraintContext context)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ActionConstraints\ActionConstraintCacheTest.cs (1)
136public bool Accept(ActionConstraintContext context)
Infrastructure\ActionSelectorTest.cs (1)
1149public bool Accept(ActionConstraintContext context)
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)
6 references to Accept
Microsoft.AspNetCore.Mvc.Core (3)
ConsumesAttribute.cs (1)
212constraint.Accept(tempContext)))
Infrastructure\ActionSelector.cs (1)
205if (!constraint.Accept(constraintContext))
Routing\ActionConstraintMatcherPolicy.cs (1)
235if (!constraint.Accept(constraintContext))
Microsoft.AspNetCore.Mvc.Cors.Test (3)
CorsHttpMethodActionConstraintTest.cs (3)
35var result = constraint.Accept(context); 50var result = constraint.Accept(context); 66var result = constraint.Accept(context);