View Source
Class RenderViewEngine
A view engine to look into the template location specified in the config for the front-end/Rendering part of the cms,
this includes paths to render partial macros and media item templates.
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class RenderViewEngine : RazorViewEngine
Constructors
View Source
RenderViewEngine()
Declaration
public RenderViewEngine()
Methods
View Source
FindPartialView(ControllerContext, String, Boolean)
Declaration
public override ViewEngineResult FindPartialView(ControllerContext controllerContext, string partialViewName, bool useCache)
Parameters
Type |
Name |
Description |
ControllerContext |
controllerContext |
|
System.String |
partialViewName |
|
System.Boolean |
useCache |
|
Returns
Type |
Description |
ViewEngineResult |
|
View Source
FindView(ControllerContext, String, String, Boolean)
Declaration
public override ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache)
Parameters
Type |
Name |
Description |
ControllerContext |
controllerContext |
|
System.String |
viewName |
|
System.String |
masterName |
|
System.Boolean |
useCache |
|
Returns
Type |
Description |
ViewEngineResult |
|