C# Class NotFoundMvc.ActionInvokerWrapper

Wraps another IActionInvoker except it handles the case of an action method not being found and invokes the NotFoundController instead.
Inheritance: IActionInvoker
Afficher le fichier Open project: DevRainSolutions/KyivSmartCity

Méthodes publiques

Méthode Description
ActionInvokerWrapper ( IActionInvoker actionInvoker ) : System.Web
InvokeAction ( ControllerContext controllerContext, string actionName ) : bool

Private Methods

Méthode Description
ExecuteNotFoundControllerAction ( ControllerContext controllerContext ) : void
InvokeActionWith404Catch ( ControllerContext controllerContext, string actionName ) : bool

Method Details

ActionInvokerWrapper() public méthode

public ActionInvokerWrapper ( IActionInvoker actionInvoker ) : System.Web
actionInvoker IActionInvoker
Résultat System.Web

InvokeAction() public méthode

public InvokeAction ( ControllerContext controllerContext, string actionName ) : bool
controllerContext ControllerContext
actionName string
Résultat bool