1 type derived from HttpMethodActionConstraint
Microsoft.AspNetCore.Mvc.Cors (1)
CorsHttpMethodActionConstraint.cs (1)
10internal sealed class CorsHttpMethodActionConstraint : HttpMethodActionConstraint
1 instantiation of HttpMethodActionConstraint
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
673selectorModel.ActionConstraints.Add(new HttpMethodActionConstraint(httpMethods));
9 references to HttpMethodActionConstraint
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
383return action.ActionConstraints.OfType<HttpMethodActionConstraint>().SelectMany(c => c.HttpMethods);
Microsoft.AspNetCore.Mvc.Core (6)
ActionConstraints\HttpMethodActionConstraint.cs (3)
12/// support. The <see cref="HttpMethodActionConstraint" /> can be used to determine 18/// The <see cref="IActionConstraint.Order" /> value used by <see cref="HttpMethodActionConstraint" />. 25/// Creates a new instance of <see cref="HttpMethodActionConstraint" />.
ApplicationModels\ApplicationModelFactory.cs (1)
303var verbs = selector.ActionConstraints?.OfType<HttpMethodActionConstraint>().FirstOrDefault()?.HttpMethods;
Routing\ActionConstraintMatcherPolicy.cs (1)
58if (actionConstraint.GetType() == typeof(HttpMethodActionConstraint))
Routing\ActionEndpointFactory.cs (1)
418if (actionConstraint is HttpMethodActionConstraint httpMethodActionConstraint &&
Microsoft.AspNetCore.Mvc.Cors (2)
CorsApplicationModelProvider.cs (1)
100if (actionConstraints[j] is HttpMethodActionConstraint httpConstraint)
CorsHttpMethodActionConstraint.cs (1)
15public CorsHttpMethodActionConstraint(HttpMethodActionConstraint constraint)