Share via


ODataCountMediaTypeMapping Class

Definition

Media type mapping that associates requests with $count.

public class ODataCountMediaTypeMapping : System.Net.Http.Formatting.MediaTypeMapping
public class ODataCountMediaTypeMapping : Microsoft.AspNet.OData.Formatter.MediaTypeMapping
type ODataCountMediaTypeMapping = class
    inherit MediaTypeMapping
Public Class ODataCountMediaTypeMapping
Inherits MediaTypeMapping
Inheritance
System.Net.Http.Formatting.MediaTypeMapping
ODataCountMediaTypeMapping
Inheritance
ODataCountMediaTypeMapping

Remarks

This class derives from a platform-specific class.

Constructors

ODataCountMediaTypeMapping()

Initializes a new instance of the ODataCountMediaTypeMapping class.

Properties

MediaType

Gets the media type that is associated with request.

(Inherited from MediaTypeMapping)

Methods

TryMatchMediaType(HttpRequest)

Returns a value indicating whether this instance can provide a MediaTypeHeaderValue for the given request.

TryMatchMediaType(HttpRequestMessage) System.Net.Http.Formatting.MediaTypeMapping.TryMatchMediaType(System.Net.Http.HttpRequestMessage)

Applies to