Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Http.​Metadata.​AcceptsMetadata
Assembly: Microsoft.AspNetCore.Http.Abstractions
Inheritance: object → AcceptsMetadata
Implemented Interfaces
Metadata that specifies the supported request content types.
Properties
public
System.​Collections.​Generic.​IReadOnlyList<​string>
ContentTypes
Gets the supported request content types.
public
System.​Type
RequestType
Gets the type being read from the request.
public
bool
IsOptional
Gets a value that determines if the request body is optional.
Methods
public
string
ToString​()
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object