C# Class vlko.core.Components.ExtendedModelBinder

Inheritance: System.Web.Mvc.DefaultModelBinder
Datei anzeigen Open project: vlko/vlko

Public Methods

Method Description
BindModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object

Binds the model by using the specified controller context and binding context.

BindPagedModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object

Binds the paged model.

Private Methods

Method Description
HasGenericTypeBase ( Type type, Type genericType ) : bool

Determines whether [has generic type base] [the specified type].

Method Details

BindModel() public method

Binds the model by using the specified controller context and binding context.
The parameter is null.
public BindModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object
controllerContext System.Web.Mvc.ControllerContext The context within which the controller operates. The context information includes the controller, HTTP content, request context, and route data.
bindingContext System.Web.Mvc.ModelBindingContext The context within which the model is bound. The context includes information such as the model object, model name, model type, property filter, and value provider.
return object

BindPagedModel() public method

Binds the paged model.
public BindPagedModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object
controllerContext System.Web.Mvc.ControllerContext The controller context.
bindingContext System.Web.Mvc.ModelBindingContext The binding context.
return object