ODataPrimitiveValueMediaTypeMapping Class
Media type mapping that associates requests for the raw value of non-binary primitive properties to the text/plain content type.
Inheritance Hierarchy
System.Object
System.Net.Http.Formatting.MediaTypeMapping
System.Web.Http.OData.Formatter.ODataRawValueMediaTypeMapping
System.Web.Http.OData.Formatter.ODataPrimitiveValueMediaTypeMapping
Namespace: System.Web.Http.OData.Formatter
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class ODataPrimitiveValueMediaTypeMapping _
Inherits ODataRawValueMediaTypeMapping
'Usage
Dim instance As ODataPrimitiveValueMediaTypeMapping
public class ODataPrimitiveValueMediaTypeMapping : ODataRawValueMediaTypeMapping
public ref class ODataPrimitiveValueMediaTypeMapping : public ODataRawValueMediaTypeMapping
type ODataPrimitiveValueMediaTypeMapping =
class
inherit ODataRawValueMediaTypeMapping
end
public class ODataPrimitiveValueMediaTypeMapping extends ODataRawValueMediaTypeMapping
The ODataPrimitiveValueMediaTypeMapping type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataPrimitiveValueMediaTypeMapping | Initializes a new instance of the ODataPrimitiveValueMediaTypeMapping class. |
Top
Properties
Name | Description | |
---|---|---|
MediaType | (Inherited from MediaTypeMapping.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsMatch | Determines whether the request is an OData primitive value request. (Overrides ODataRawValueMediaTypeMapping.IsMatch(PropertyAccessPathSegment).) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TryMatchMediaType | Returns the quality of the match of the MediaTypeHeaderValue associated with request. (Inherited from ODataRawValueMediaTypeMapping.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.