Share via


ODataRawValueMediaTypeMapping Class

 

Media type mapping that associates requests for the raw value of properties.

Namespace:   System.Web.OData.Formatter
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.Formatting.MediaTypeMapping
    System.Web.OData.Formatter.ODataRawValueMediaTypeMapping
      System.Web.OData.Formatter.ODataBinaryValueMediaTypeMapping
      System.Web.OData.Formatter.ODataEnumValueMediaTypeMapping
      System.Web.OData.Formatter.ODataPrimitiveValueMediaTypeMapping

Syntax

public abstract class ODataRawValueMediaTypeMapping : MediaTypeMapping
public ref class ODataRawValueMediaTypeMapping abstract : MediaTypeMapping
[<AbstractClass>]
type ODataRawValueMediaTypeMapping = 
    class
        inherit MediaTypeMapping
    end
Public MustInherit Class ODataRawValueMediaTypeMapping
    Inherits MediaTypeMapping

Constructors

Name Description
System_CAPS_protmethod ODataRawValueMediaTypeMapping(String)

Initializes a new instance of the ODataRawValueMediaTypeMapping class.

Properties

Name Description
System_CAPS_pubproperty MediaType

Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping. (Inherited from MediaTypeMapping.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod IsMatch(PropertyAccessPathSegment)

This method determines if the HttpRequestMessage is an OData Raw value request.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryMatchMediaType(HttpRequestMessage)

(Overrides MediaTypeMapping.TryMatchMediaType(HttpRequestMessage).)

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.

See Also

System.Web.OData.Formatter Namespace

Return to top