ODataEnumValueMediaTypeMapping 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.
Media type mapping that associates requests for the raw value of enum properties with the text/plain content type.
public class ODataEnumValueMediaTypeMapping : Microsoft.AspNet.OData.Formatter.ODataRawValueMediaTypeMapping
type ODataEnumValueMediaTypeMapping = class
inherit ODataRawValueMediaTypeMapping
Public Class ODataEnumValueMediaTypeMapping
Inherits ODataRawValueMediaTypeMapping
- Inheritance
-
System.Net.Http.Formatting.MediaTypeMappingODataEnumValueMediaTypeMapping
- Inheritance
Constructors
ODataEnumValueMediaTypeMapping() |
Initializes a new instance of the ODataEnumValueMediaTypeMapping class. |
Properties
MediaType |
Gets the media type that is associated with request. (Inherited from MediaTypeMapping) |
Methods
IsMatch(PropertySegment) |
This method determines if the HttpRequestMessage is an OData Raw value request. |
TryMatchMediaType(HttpRequest) |
Returns a value indicating whether this instance can provide a
MediaTypeHeaderValue for the given |
TryMatchMediaType(HttpRequestMessage) | (Inherited from ODataRawValueMediaTypeMapping) |