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)

Syntax

public interface IModelBinderProvider
public interface class IModelBinderProvider
type IModelBinderProvider = interface end
Public Interface IModelBinderProvider

Methods

Name Description
System_CAPS_pubmethod GetBinder(Type)

Returns the model binder for the specified type.

Remarks

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.

See Also

System.Web.Mvc Namespace

Return to top