C# Class MvcBiblioteca.Infraestrutura.UsuarioViewModelBinder

Inheritance: System.Web.Mvc.DefaultModelBinder
Datei anzeigen Open project: rooseveltdossantos/POSWEB.FURB

Public Methods

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

Protected Methods

Method Description
SetProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, System propertyDescriptor, object value ) : void

Private Methods

Method Description
ConverterParaTipoUsuario ( System.Web.Mvc.ModelBindingContext bindingContext, string propertyName, string propertyValue ) : void

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

SetProperty() protected method

protected SetProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, System propertyDescriptor, object value ) : void
controllerContext System.Web.Mvc.ControllerContext
bindingContext System.Web.Mvc.ModelBindingContext
propertyDescriptor System
value object
return void