Compartir a través de


AcceptVerbsAttribute Constructores

Definición

Sobrecargas

AcceptVerbsAttribute(String)

Inicializa una nueva instancia de la clase AcceptVerbsAttribute.

AcceptVerbsAttribute(String[])

Inicializa una nueva instancia de la clase AcceptVerbsAttribute.

AcceptVerbsAttribute(String)

Source:
AcceptVerbsAttribute.cs
Source:
AcceptVerbsAttribute.cs
Source:
AcceptVerbsAttribute.cs

Inicializa una nueva instancia de la clase AcceptVerbsAttribute.

public:
 AcceptVerbsAttribute(System::String ^ method);
public AcceptVerbsAttribute (string method);
new Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute : string -> Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute
Public Sub New (method As String)

Parámetros

method
String

El método HTTP que admite la acción.

Se aplica a

AcceptVerbsAttribute(String[])

Source:
AcceptVerbsAttribute.cs
Source:
AcceptVerbsAttribute.cs
Source:
AcceptVerbsAttribute.cs

Inicializa una nueva instancia de la clase AcceptVerbsAttribute.

public:
 AcceptVerbsAttribute(... cli::array <System::String ^> ^ methods);
public AcceptVerbsAttribute (params string[] methods);
new Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute : string[] -> Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute
Public Sub New (ParamArray methods As String())

Parámetros

methods
String[]

Métodos HTTP que admite la acción.

Se aplica a