Udostępnij za pośrednictwem


ConsumesAttribute Konstruktory

Definicja

Przeciążenia

ConsumesAttribute(String, String[])

Tworzy nowe wystąpienie klasy ConsumesAttribute.

ConsumesAttribute(Type, String, String[])

Tworzy nowe wystąpienie klasy ConsumesAttribute.

ConsumesAttribute(String, String[])

Źródło:
ConsumesAttribute.cs
Źródło:
ConsumesAttribute.cs
Źródło:
ConsumesAttribute.cs

Tworzy nowe wystąpienie klasy ConsumesAttribute.

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

Parametry

contentType
String
otherContentTypes
String[]

Dotyczy

ConsumesAttribute(Type, String, String[])

Źródło:
ConsumesAttribute.cs

Tworzy nowe wystąpienie klasy ConsumesAttribute.

public ConsumesAttribute (Type requestType, string contentType, params string[] otherContentTypes);
new Microsoft.AspNetCore.Mvc.ConsumesAttribute : Type * string * string[] -> Microsoft.AspNetCore.Mvc.ConsumesAttribute
Public Sub New (requestType As Type, contentType As String, ParamArray otherContentTypes As String())

Parametry

requestType
Type
contentType
String
otherContentTypes
String[]

Dotyczy