Share via


ODataMediaTypeFormatters Class

 

MediaTypeFormatter classes to handle OData.

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

Inheritance Hierarchy

System.Object
  System.Web.OData.Formatter.ODataMediaTypeFormatters

Syntax

public static class ODataMediaTypeFormatters
[ExtensionAttribute]
public ref class ODataMediaTypeFormatters abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ODataMediaTypeFormatters = class end
<ExtensionAttribute>
Public NotInheritable Class ODataMediaTypeFormatters

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Create()

Creates a list of media type formatters to handle OData. The default serializer provider is DefaultODataSerializerProvider and the default deserializer provider is DefaultODataDeserializerProvider.

System_CAPS_pubmethodSystem_CAPS_static Create(ODataSerializerProvider, ODataDeserializerProvider)

Creates a list of media type formatters to handle OData with the given serializerProvider and deserializerProvider.

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