4 references to CorsHttpMethodActionConstraint
Microsoft.AspNetCore.Mvc.Cors (1)
CorsApplicationModelProvider.cs (1)
102actionConstraints[j] = new CorsHttpMethodActionConstraint(httpConstraint);
Microsoft.AspNetCore.Mvc.Cors.Test (3)
CorsHttpMethodActionConstraintTest.cs (3)
30var constraint = new CorsHttpMethodActionConstraint(new HttpMethodActionConstraint(httpMethods)) as IActionConstraint; 45var constraint = new CorsHttpMethodActionConstraint(new HttpMethodActionConstraint(new[] { "GET", "Post" })) as IActionConstraint; 61var constraint = new CorsHttpMethodActionConstraint(new HttpMethodActionConstraint(httpMethods)) as IActionConstraint;