Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.

Public methodGetBinderReturns the model binder for the specified type.

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.

© 2015 Microsoft