C# 클래스 Rebel.Cms.Web.Mvc.ModelBinders.BackOffice.StandardModelBinder

Model binder to inherit from containing utility functions for aiding in model binding
상속: System.Web.Mvc.DefaultModelBinder
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

보호된 메소드들

메소드 설명
SetPropertyValue ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, PropertyDescriptor propertyDescriptor, object>.Func getValue ) : void

Method to get the attempted value for the property and to execute the callback method to retreive the 'real' value, then set the property whilst executing the correct events. The event order is based on how the DefaultModelBinder sets properties so figured I'd go with these 'best practices'.

메소드 상세

SetPropertyValue() 보호된 메소드

Method to get the attempted value for the property and to execute the callback method to retreive the 'real' value, then set the property whilst executing the correct events. The event order is based on how the DefaultModelBinder sets properties so figured I'd go with these 'best practices'.
protected SetPropertyValue ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, PropertyDescriptor propertyDescriptor, object>.Func getValue ) : void
controllerContext System.Web.Mvc.ControllerContext
bindingContext System.Web.Mvc.ModelBindingContext
propertyDescriptor System.ComponentModel.PropertyDescriptor
getValue object>.Func callback method to get the 'real' value
리턴 void