Method | Description | |
---|---|---|
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void |
Called before the action method is invoked. This overides the default behaviour by populating RoadkillContext.Current.CurrentUser with the current logged in user after each action method.
|
|
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void | ||
RenderRazorViewToString ( string viewName, object model ) : string |
Method | Description | |
---|---|---|
AssertPermission ( ) : void |
protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void | ||
filterContext | System.Web.Mvc.ActionExecutingContext | Information about the current request and action. |
return | void |
protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void | ||
filterContext | System.Web.Mvc.ExceptionContext | |
return | void |
protected RenderRazorViewToString ( string viewName, object model ) : string | ||
viewName | string | |
model | object | |
return | string |