5 references to HttpMethods
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
383
return action.ActionConstraints.OfType<HttpMethodActionConstraint>().SelectMany(c => c.
HttpMethods
);
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ApplicationModelFactory.cs (1)
303
var verbs = selector.ActionConstraints?.OfType<HttpMethodActionConstraint>().FirstOrDefault()?.
HttpMethods
;
Routing\ActionEndpointFactory.cs (1)
421
builder.Metadata.Add(new HttpMethodMetadata(httpMethodActionConstraint.
HttpMethods
));
Microsoft.AspNetCore.Mvc.Cors (2)
CorsHttpMethodActionConstraint.cs (2)
16
: base(constraint.
HttpMethods
)
24
var methods = (ReadOnlyCollection<string>)
HttpMethods
;