Share via


ProducesDefaultResponseTypeAttribute Construtores

Definição

Sobrecargas

ProducesDefaultResponseTypeAttribute()

Inicializa uma instância de ProducesResponseTypeAttribute.

ProducesDefaultResponseTypeAttribute(Type)

Inicializa uma instância de ProducesResponseTypeAttribute.

ProducesDefaultResponseTypeAttribute()

Origem:
ProducesDefaultResponseTypeAttribute.cs

Inicializa uma instância de ProducesResponseTypeAttribute.

public:
 ProducesDefaultResponseTypeAttribute();
public ProducesDefaultResponseTypeAttribute ();
Public Sub New ()

Aplica-se a

ProducesDefaultResponseTypeAttribute(Type)

Origem:
ProducesDefaultResponseTypeAttribute.cs

Inicializa uma instância de ProducesResponseTypeAttribute.

public:
 ProducesDefaultResponseTypeAttribute(Type ^ type);
public ProducesDefaultResponseTypeAttribute (Type type);
new Microsoft.AspNetCore.Mvc.ProducesDefaultResponseTypeAttribute : Type -> Microsoft.AspNetCore.Mvc.ProducesDefaultResponseTypeAttribute
Public Sub New (type As Type)

Parâmetros

type
Type

O Type do objeto que será gravado na resposta.

Aplica-se a