Condividi tramite


HttpMethodActionConstraint(IEnumerable<String>) Costruttore

Definizione

Crea una nuova istanza di HttpMethodActionConstraint.

public:
 HttpMethodActionConstraint(System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods);
public HttpMethodActionConstraint (System.Collections.Generic.IEnumerable<string> httpMethods);
new Microsoft.AspNetCore.Mvc.ActionConstraints.HttpMethodActionConstraint : seq<string> -> Microsoft.AspNetCore.Mvc.ActionConstraints.HttpMethodActionConstraint
Public Sub New (httpMethods As IEnumerable(Of String))

Parametri

httpMethods
IEnumerable<String>

Elenco di metodi HTTP da consentire. La fornitura di un elenco vuoto consentirà qualsiasi metodo HTTP.

Si applica a