C# Class RunningObjects.Core.MethodBinder

Inheritance: IModelBinder
Exibir arquivo Open project: edurdias/RunningObjects Class Usage Examples

Public Methods

Method Description
BindModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object
CreateBindingContext ( System.Web.Mvc.ControllerContext controllerContext ) : System.Web.Mvc.ModelBindingContext
GetMethodMapping ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, string actionName ) : MethodMapping

Private Methods

Method Description
GetConstructorMapping ( Type modelType, int index ) : MethodMapping
GetMethodMapping ( System.Web.Mvc.ControllerContext controllerContext, Type modelType, int index ) : MethodMapping

Method Details

BindModel() public method

public BindModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object
controllerContext System.Web.Mvc.ControllerContext
bindingContext System.Web.Mvc.ModelBindingContext
return object

CreateBindingContext() public static method

public static CreateBindingContext ( System.Web.Mvc.ControllerContext controllerContext ) : System.Web.Mvc.ModelBindingContext
controllerContext System.Web.Mvc.ControllerContext
return System.Web.Mvc.ModelBindingContext

GetMethodMapping() public static method

public static GetMethodMapping ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, string actionName ) : MethodMapping
controllerContext System.Web.Mvc.ControllerContext
bindingContext System.Web.Mvc.ModelBindingContext
actionName string
return RunningObjects.Core.Mapping.MethodMapping