ProfilingViewEngine
You can wrap your view engines with this view to enable profiling on views and partial
Assembly: ServiceStack.Mvc.dll
View Source
Declaration
public class ProfilingViewEngine : IViewEngine
Methods
FindPartialView(ControllerContext, String, Boolean)
Find a partial
View Source
Declaration
public ViewEngineResult FindPartialView(ControllerContext controllerContext, string partialViewName, bool useCache)
Returns
ViewEngineResult
Parameters
Type | Name |
---|---|
ControllerContext | controllerContext |
System.String | partialViewName |
System.Boolean | useCache |
FindView(ControllerContext, String, String, Boolean)
Find a view
View Source
Declaration
public ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache)
Returns
ViewEngineResult
Parameters
Type | Name |
---|---|
ControllerContext | controllerContext |
System.String | viewName |
System.String | masterName |
System.Boolean | useCache |
ReleaseView(ControllerContext, IView)
Find a partial
View Source
Declaration
public void ReleaseView(ControllerContext controllerContext, IView view)
Parameters
Type | Name |
---|---|
ControllerContext | controllerContext |
IView | view |