ODataEnumValueMediaTypeMapping Class
Media type mapping that associates requests for the raw value of enum properties with the text/plain content type.
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.ODataEnumValueMediaTypeMapping
Syntax
public class ODataEnumValueMediaTypeMapping : ODataRawValueMediaTypeMapping
public ref class ODataEnumValueMediaTypeMapping : ODataRawValueMediaTypeMapping
type ODataEnumValueMediaTypeMapping =
class
inherit ODataRawValueMediaTypeMapping
end
Public Class ODataEnumValueMediaTypeMapping
Inherits ODataRawValueMediaTypeMapping
Constructors
Name | Description | |
---|---|---|
ODataEnumValueMediaTypeMapping() | Initializes a new instance of the ODataEnumValueMediaTypeMapping class. |
Properties
Name | Description | |
---|---|---|
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 | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IsMatch(PropertyAccessPathSegment) | (Overrides ODataRawValueMediaTypeMapping.IsMatch(PropertyAccessPathSegment).) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
TryMatchMediaType(HttpRequestMessage) | (Inherited from ODataRawValueMediaTypeMapping.) |
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