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
viewPageActivatorIViewPageActivatorAn 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
controllerContextControllerContextThe controller context.
partialPathstringThe 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
controllerContextControllerContextThe controller context.
viewPathstringThe view path.
masterPathstringThe master-view path.
Returns
- IView
The view.