AcceptsMetadata Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Metadata that specifies the supported request content types.
public sealed class AcceptsMetadata : Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata
type AcceptsMetadata = class
interface IAcceptsMetadata
Public NotInheritable Class AcceptsMetadata
Implements IAcceptsMetadata
- Inheritance
-
AcceptsMetadata
- Implements
Constructors
AcceptsMetadata(String[], Type, Boolean) |
Creates a new instance of AcceptsMetadata with a type. |
Properties
ContentTypes |
Gets the supported request content types. |
IsOptional |
Gets a value that determines if the request body is optional. |
RequestType |
Gets the type being read from the request. |
Methods
ToString() | Returns a string that represents the current object. |