Поделиться через


ProducesDefaultResponseTypeAttribute Конструкторы

Определение

Перегрузки

ProducesDefaultResponseTypeAttribute()

Инициализирует экземпляр ProducesResponseTypeAttribute.

ProducesDefaultResponseTypeAttribute(Type)

Инициализирует экземпляр ProducesResponseTypeAttribute.

ProducesDefaultResponseTypeAttribute()

Исходный код:
ProducesDefaultResponseTypeAttribute.cs
Исходный код:
ProducesDefaultResponseTypeAttribute.cs

Инициализирует экземпляр ProducesResponseTypeAttribute.

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

Применяется к

ProducesDefaultResponseTypeAttribute(Type)

Исходный код:
ProducesDefaultResponseTypeAttribute.cs
Исходный код:
ProducesDefaultResponseTypeAttribute.cs

Инициализирует экземпляр 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)

Параметры

type
Type

Объект Type объекта , который будет записан в ответе.

Применяется к