ProducesDefaultResponseTypeAttribute Constructors

Definition

Overloads

ProducesDefaultResponseTypeAttribute()

Initializes an instance of ProducesResponseTypeAttribute.

ProducesDefaultResponseTypeAttribute(Type)

Initializes an instance of ProducesResponseTypeAttribute.

ProducesDefaultResponseTypeAttribute()

Source:
ProducesDefaultResponseTypeAttribute.cs

Initializes an instance of ProducesResponseTypeAttribute.

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

Applies to

ProducesDefaultResponseTypeAttribute(Type)

Source:
ProducesDefaultResponseTypeAttribute.cs

Initializes an instance of 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)

Parameters

type
Type

The Type of object that is going to be written in the response.

Applies to