HttpMethodAttribute Construtores

Definição

Sobrecargas

HttpMethodAttribute(IEnumerable<String>)

Cria um novo HttpMethodAttribute com o conjunto determinado de métodos HTTP.

HttpMethodAttribute(IEnumerable<String>, String)

Cria um novo HttpMethodAttribute com o conjunto determinado de métodos HTTP um modelo de rota fornecido.

HttpMethodAttribute(IEnumerable<String>)

Origem:
HttpMethodAttribute.cs
Origem:
HttpMethodAttribute.cs

Cria um novo HttpMethodAttribute com o conjunto determinado de métodos HTTP.

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

Parâmetros

httpMethods
IEnumerable<String>

Aplica-se a

HttpMethodAttribute(IEnumerable<String>, String)

Origem:
HttpMethodAttribute.cs
Origem:
HttpMethodAttribute.cs

Cria um novo HttpMethodAttribute com o conjunto determinado de métodos HTTP um modelo de rota fornecido.

public:
 HttpMethodAttribute(System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods, System::String ^ template);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods, string template);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods, string? template);
new Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute : seq<string> * string -> Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute
Public Sub New (httpMethods As IEnumerable(Of String), template As String)

Parâmetros

httpMethods
IEnumerable<String>

O conjunto de métodos com suporte. Não pode ser nulo.

template
String

O modelo de rota.

Aplica-se a