C# Class CTCClassSchedule.ProfilingViewEngine

Enables MvcMiniProfiler for all views
Inheritance: IViewEngine
Show file Open project: BellevueCollege/ClassSchedule

Public Methods

Method Description
FindPartialView ( System.Web.Mvc.ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult

FindView ( System.Web.Mvc.ControllerContext controllerContext, string viewName, string masterName, bool useCache ) : System.Web.Mvc.ViewEngineResult

ProfilingViewEngine ( IViewEngine wrapped ) : System.Web.Mvc

ReleaseView ( System.Web.Mvc.ControllerContext controllerContext, IView view ) : void

Method Details

FindPartialView() public method

public FindPartialView ( System.Web.Mvc.ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult
controllerContext System.Web.Mvc.ControllerContext
partialViewName string
useCache bool
return System.Web.Mvc.ViewEngineResult

FindView() public method

public FindView ( System.Web.Mvc.ControllerContext controllerContext, string viewName, string masterName, bool useCache ) : System.Web.Mvc.ViewEngineResult
controllerContext System.Web.Mvc.ControllerContext
viewName string
masterName string
useCache bool
return System.Web.Mvc.ViewEngineResult

ProfilingViewEngine() public method

public ProfilingViewEngine ( IViewEngine wrapped ) : System.Web.Mvc
wrapped IViewEngine
return System.Web.Mvc

ReleaseView() public method

public ReleaseView ( System.Web.Mvc.ControllerContext controllerContext, IView view ) : void
controllerContext System.Web.Mvc.ControllerContext
view IView
return void