5 instantiations of HttpMethodRouteConstraint
Microsoft.AspNetCore.Routing (1)
RequestDelegateRouteBuilderExtensions.cs (1)
262["httpMethod"] = new HttpMethodRouteConstraint(verb),
Microsoft.AspNetCore.Routing.Tests (4)
Constraints\HttpMethodRouteConstraintTests.cs (4)
17var constraint = new HttpMethodRouteConstraint("GET", "post"); 38var constraint = new HttpMethodRouteConstraint("GET", "post"); 59var constraint = new HttpMethodRouteConstraint("GET", "post"); 79var constraint = new HttpMethodRouteConstraint("GET", "post");
5 references to HttpMethodRouteConstraint
Microsoft.AspNetCore.Routing (1)
Constraints\HttpMethodRouteConstraint.cs (1)
16/// Creates a new instance of <see cref="HttpMethodRouteConstraint"/> that accepts the HTTP methods specified
Microsoft.AspNetCore.Routing.Tests (4)
Constraints\HttpMethodRouteConstraintTests.cs (4)
17var constraint = new HttpMethodRouteConstraint("GET", "post"); 38var constraint = new HttpMethodRouteConstraint("GET", "post"); 59var constraint = new HttpMethodRouteConstraint("GET", "post"); 79var constraint = new HttpMethodRouteConstraint("GET", "post");