Interface IModelBinder
Defines the methods that are required for a model binder.
public interface IModelBinder
Methods
BindModel(ControllerContext, ModelBindingContext)
Binds the model to a value by using the specified controller context and binding context.
object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
Parameters
controllerContext
ControllerContextThe controller context.
bindingContext
ModelBindingContextThe binding context.
Returns
- object
The bound value.