다음을 통해 공유


DefaultModelBinder.OnModelUpdated 메서드

정의

모델이 업데이트된 경우 호출됩니다.

protected virtual void OnModelUpdated (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext);
abstract member OnModelUpdated : System.Web.Mvc.ControllerContext * System.Web.Mvc.ModelBindingContext -> unit
override this.OnModelUpdated : System.Web.Mvc.ControllerContext * System.Web.Mvc.ModelBindingContext -> unit
Protected Overridable Sub OnModelUpdated (controllerContext As ControllerContext, bindingContext As ModelBindingContext)

매개 변수

controllerContext
ControllerContext

컨트롤러가 작동하는 컨텍스트입니다. 컨텍스트 정보에는 컨트롤러, HTTP 콘텐츠, 요청 컨텍스트 및 경로 데이터가 포함됩니다.

bindingContext
ModelBindingContext

모델이 바인딩되는 컨텍스트입니다. 컨텍스트에는 모델 개체, 모델 이름, 모델 형식, 속성 필터, 값 공급자 등의 정보가 포함됩니다.

적용 대상