Class WebFormViewEngine
Represents a view engine that is used to render a Web Forms page to the response.
public class WebFormViewEngine : BuildManagerViewEngine, IViewEngine
- Inheritance
-
WebFormViewEngine
- Implements
- Inherited Members
Constructors
WebFormViewEngine()
Initializes a new instance of the WebFormViewEngine class.
public WebFormViewEngine()
WebFormViewEngine(IViewPageActivator)
Initializes a new instance of the WebFormViewEngine class using the specified view page activator.
public WebFormViewEngine(IViewPageActivator viewPageActivator)
Parameters
viewPageActivator
IViewPageActivatorAn instance of a class that implements the IViewPageActivator interface.
Methods
CreatePartialView(ControllerContext, string)
Creates the specified partial view by using the specified controller context.
protected override IView CreatePartialView(ControllerContext controllerContext, string partialPath)
Parameters
controllerContext
ControllerContextThe controller context.
partialPath
stringThe partial path.
Returns
- IView
The partial view.
CreateView(ControllerContext, string, string)
Creates the specified view by using the specified controller context and the paths of the view and master view.
protected override IView CreateView(ControllerContext controllerContext, string viewPath, string masterPath)
Parameters
controllerContext
ControllerContextThe controller context.
viewPath
stringThe view path.
masterPath
stringThe master-view path.
Returns
- IView
The view.