Share via


ODataModelBinderProvider Class

Provides a IModelBinder for EDM primitive types.

Inheritance Hierarchy

System.Object
  System.Web.Http.ModelBinding.ModelBinderProvider
    System.Web.Http.OData.Formatter.ODataModelBinderProvider

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

Syntax

'Declaration
Public Class ODataModelBinderProvider _
    Inherits ModelBinderProvider
'Usage
Dim instance As ODataModelBinderProvider
public class ODataModelBinderProvider : ModelBinderProvider
public ref class ODataModelBinderProvider : public ModelBinderProvider
type ODataModelBinderProvider =  
    class 
        inherit ModelBinderProvider 
    end
public class ODataModelBinderProvider extends ModelBinderProvider

The ODataModelBinderProvider type exposes the following members.

Constructors

  Name Description
Public method ODataModelBinderProvider Initializes a new instance of the ODataModelBinderProvider class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBinder Retrieves the model binder for the specified type. (Overrides ModelBinderProvider.GetBinder(HttpConfiguration, Type).)
Public method GetHashCode (Inherited from Object.)
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 Namespace