C# 클래스 Rebel.Cms.Web.Mvc.ActionInvokers.ControllerExtenderActionInvoker

An action invoker allowing Controller Extender actions to execute.
상속: System.Web.Mvc.ControllerActionInvoker
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
InvokeAction ( System.Web.Mvc.ControllerContext controllerContext, string actionName ) : bool

Override the InvokeAction method to check if the actionDescriptor is an ExtenderActionDescriptor if it is, we will actually execute the controller for the extender action seperately so that everything is wired up correctly and all of the ActionFilters are executed.

보호된 메소드들

메소드 설명
FindAction ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ControllerDescriptor controllerDescriptor, string actionName ) : System.Web.Mvc.ActionDescriptor

Checks if the action to execute exists on the main controller, if not checks any extender controllers for matching/executable actions and returns them.

메소드 상세

FindAction() 보호된 메소드

Checks if the action to execute exists on the main controller, if not checks any extender controllers for matching/executable actions and returns them.
protected FindAction ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ControllerDescriptor controllerDescriptor, string actionName ) : System.Web.Mvc.ActionDescriptor
controllerContext System.Web.Mvc.ControllerContext
controllerDescriptor System.Web.Mvc.ControllerDescriptor
actionName string
리턴 System.Web.Mvc.ActionDescriptor

InvokeAction() 공개 메소드

Override the InvokeAction method to check if the actionDescriptor is an ExtenderActionDescriptor if it is, we will actually execute the controller for the extender action seperately so that everything is wired up correctly and all of the ActionFilters are executed.
public InvokeAction ( System.Web.Mvc.ControllerContext controllerContext, string actionName ) : bool
controllerContext System.Web.Mvc.ControllerContext
actionName string
리턴 bool