IModelBinderProvider Interface
Collapse the table of content
Expand the table of content

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)

public interface IModelBinderProvider

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