Table of Contents

Class ODataPrimitiveValueMediaTypeMapping

Namespace
System.Web.Http.OData.Formatter
Assembly
System.Web.Http.OData.dll

Media type mapping that associates requests for the raw value of non-binary primitive properties to the text/plain content type.

public class ODataPrimitiveValueMediaTypeMapping : ODataRawValueMediaTypeMapping
Inheritance
ODataPrimitiveValueMediaTypeMapping
Inherited Members

Constructors

ODataPrimitiveValueMediaTypeMapping()

Initializes a new instance of the ODataPrimitiveValueMediaTypeMapping class.

public ODataPrimitiveValueMediaTypeMapping()

Methods

IsMatch(PropertyAccessPathSegment)

protected override bool IsMatch(PropertyAccessPathSegment propertySegment)

Parameters

propertySegment PropertyAccessPathSegment

Returns

bool