Freigeben über


ConsumesAttribute Konstruktoren

Definition

Überlädt

ConsumesAttribute(String, String[])

Erstellt eine neue Instanz von ConsumesAttribute.

ConsumesAttribute(Type, String, String[])

Erstellt eine neue Instanz von ConsumesAttribute.

ConsumesAttribute(String, String[])

Quelle:
ConsumesAttribute.cs
Quelle:
ConsumesAttribute.cs
Quelle:
ConsumesAttribute.cs

Erstellt eine neue Instanz von 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())

Parameter

contentType
String
otherContentTypes
String[]

Gilt für:

ConsumesAttribute(Type, String, String[])

Quelle:
ConsumesAttribute.cs

Erstellt eine neue Instanz von 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())

Parameter

requestType
Type
contentType
String
otherContentTypes
String[]

Gilt für: