Метод | Описание | |
---|---|---|
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.
|
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 |
public InvokeAction ( System.Web.Mvc.ControllerContext controllerContext, string actionName ) : bool | ||
controllerContext | System.Web.Mvc.ControllerContext | |
actionName | string | |
Результат | bool |