Class ContentTypeAttribute
Attribute defining the response or request content type, that can be used as an attribute on API-related classes.
Inheritance
System.Attribute
ContentTypeAttribute
Namespace: Den.Dev.Grunt.Models
Assembly: Den.Dev.Grunt.dll
Syntax
[[System.AttributeUsage(System.AttributeTargets.All)]]
[[System.Runtime.CompilerServices.Nullable(0)]]
[[System.Runtime.CompilerServices.NullableContext(2)]]
public class ContentTypeAttribute : Attribute
Constructors
Name | Description |
---|---|
ContentTypeAttribute() |
Properties
Name | Description |
---|---|
HeaderValue | Gets or sets the content type header value. |