View Source
Class PluginViewEngine
A view engine to look into the App_Plugins folder for views for packaged controllers
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class PluginViewEngine : RazorViewEngine
Constructors
View Source
PluginViewEngine()
Declaration
public PluginViewEngine()
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 |
|