C# Class RadaCode.InDoc.Core.Controllers.ControllerBase

Inheritance: Controller
Show file Open project: maxpavlov/FlexNet

Protected Methods

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

Private Methods

Method Description
AssertPermission ( ) : void

Method Details

OnActionExecuting() protected method

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.
protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext Information about the current request and action.
return void

OnException() protected method

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
return void

RenderRazorViewToString() protected method

protected RenderRazorViewToString ( string viewName, object model ) : string
viewName string
model object
return string