ProducesAttribute 생성자

정의

오버로드

ProducesAttribute(Type)

ProducesAttribute의 인스턴스를 초기화합니다.

ProducesAttribute(String, String[])

허용된 콘텐츠 형식을 사용하여 의 ProducesAttribute instance 초기화합니다.

ProducesAttribute(Type)

Source:
ProducesAttribute.cs
Source:
ProducesAttribute.cs

ProducesAttribute의 인스턴스를 초기화합니다.

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

매개 변수

type
Type

Type 응답에 기록될 개체의 입니다.

적용 대상

ProducesAttribute(String, String[])

Source:
ProducesAttribute.cs
Source:
ProducesAttribute.cs

허용된 콘텐츠 형식을 사용하여 의 ProducesAttribute instance 초기화합니다.

public:
 ProducesAttribute(System::String ^ contentType, ... cli::array <System::String ^> ^ additionalContentTypes);
public ProducesAttribute (string contentType, params string[] additionalContentTypes);
new Microsoft.AspNetCore.Mvc.ProducesAttribute : string * string[] -> Microsoft.AspNetCore.Mvc.ProducesAttribute
Public Sub New (contentType As String, ParamArray additionalContentTypes As String())

매개 변수

contentType
String

응답에 허용되는 콘텐츠 형식입니다.

additionalContentTypes
String[]

응답에 허용되는 추가 콘텐츠 형식입니다.

적용 대상