Example #1
0
 public static ExceptionContext GetExceptionContext(this ControllerAction controllerAction, Exception exception)
 {
     return(controllerAction.GetExecutionContext().GetExceptionContext(exception));
 }
Example #2
0
 public static ResultExecutedContext GetResultExecutedContext(this ControllerAction controllerAction, ActionResult actionResult, bool cancelled, Exception exception)
 {
     return(controllerAction.GetExecutionContext().GetResultExecutedContext(actionResult, cancelled, exception));
 }
Example #3
0
 public static ActionExecutedContext GetActionExecutedContext(this ControllerAction controllerAction)
 {
     return(controllerAction.GetExecutionContext().GetActionExecutedContext());
 }
Example #4
0
 public static ResultExecutingContext GetResultExecutingContext(this ControllerAction controllerAction, ActionResult actionResult)
 {
     return(controllerAction.GetExecutionContext().GetResultExecutingContext(actionResult));
 }
Example #5
0
 public static AuthorizationContext GetAuthorizationContext(this ControllerAction controllerAction)
 {
     return(controllerAction.GetExecutionContext().GetAuthorizationContext());
 }