Export (0) Print
Expand All

IModelBinderProvider Interface

Defines methods that enable dynamic implementations of model binding for classes that implement the IModelBinder interface.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

type IModelBinderProvider =  interface end

The IModelBinderProvider type exposes the following members.

  NameDescription
Public methodGetBinderReturns the model binder for the specified type.
Top

IModelBinderProvider instances can be discovered with a dependency resolver. Multiple model binders can be registered. Non-dependency injection users can call BinderProviders to register a model binder provider. Model binder providers run in order and before static registered providers.

Show:
© 2014 Microsoft