Share via


ODataSerializerProvider Class

An ODataSerializerProvider is a factory for creating ODataSerializers.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Formatter.Serialization.ODataSerializerProvider
    System.Web.Http.OData.Formatter.Serialization.DefaultODataSerializerProvider

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

Syntax

'Declaration
Public MustInherit Class ODataSerializerProvider
'Usage
Dim instance As ODataSerializerProvider
public abstract class ODataSerializerProvider
public ref class ODataSerializerProvider abstract
[<AbstractClassAttribute>]
type ODataSerializerProvider =  class end
public abstract class ODataSerializerProvider

The ODataSerializerProvider type exposes the following members.

Constructors

  Name Description
Protected method ODataSerializerProvider Initializes a new instance of the ODataSerializerProvider class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEdmTypeSerializer Gets an ODataEdmTypeSerializer for the given edmType.
Public method GetHashCode (Inherited from Object.)
Public method GetODataPayloadSerializer Gets an ODataSerializer for the given model and type.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Web.Http.OData.Formatter.Serialization Namespace