RazorViewEngine Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RazorViewEngine() |
Initializes a new instance of the RazorViewEngine class. |
RazorViewEngine(IViewPageActivator) |
Initializes a new instance of the RazorViewEngine class using the view page activator. |
RazorViewEngine()
Initializes a new instance of the RazorViewEngine class.
public RazorViewEngine ();
Public Sub New ()
Applies to
RazorViewEngine(IViewPageActivator)
Initializes a new instance of the RazorViewEngine class using the view page activator.
public RazorViewEngine (System.Web.Mvc.IViewPageActivator viewPageActivator);
new System.Web.Mvc.RazorViewEngine : System.Web.Mvc.IViewPageActivator -> System.Web.Mvc.RazorViewEngine
Public Sub New (viewPageActivator As IViewPageActivator)
Parameters
- viewPageActivator
- IViewPageActivator
The view page activator.