1 write to AllowedMethods
Microsoft.AspNetCore.Routing (1)
Constraints\HttpMethodRouteConstraint.cs (1)
24
AllowedMethods
= new List<string>(allowedMethods);
2 references to AllowedMethods
Microsoft.AspNetCore.Routing (2)
Constraints\HttpMethodRouteConstraint.cs (2)
49
return
AllowedMethods
.Contains(httpContext.Request.Method, StringComparer.OrdinalIgnoreCase);
70
return
AllowedMethods
.Contains(Convert.ToString(obj, CultureInfo.InvariantCulture), StringComparer.OrdinalIgnoreCase);