HttpMethodConstraint Class¶
Constructors¶
-
HttpMethodConstraint
(System.Collections.Generic.IEnumerable<System.String>)¶ Arguments: - httpMethods (System.Collections.Generic.IEnumerable{System.String}) –
public HttpMethodConstraint(IEnumerable<string> httpMethods)
-
Methods¶
-
Accept
(Microsoft.AspNet.Mvc.ActionConstraintContext)¶ Arguments: - context (Microsoft.AspNet.Mvc.ActionConstraintContext) –
Return type: System.Boolean
public bool Accept(ActionConstraintContext context)
-