Class MvcWebRazorHostFactory
Creates instances of System.Web.Mvc.MvcWebPageRazorHost files.
public class MvcWebRazorHostFactory : WebRazorHostFactory
- Inheritance
-
MvcWebRazorHostFactory
Constructors
MvcWebRazorHostFactory()
Initializes a new instance of the MvcWebRazorHostFactory class.
public MvcWebRazorHostFactory()
Methods
CreateHost(string, string)
Creates a Razor host.
public override WebPageRazorHost CreateHost(string virtualPath, string physicalPath)
Parameters
virtualPath
stringThe virtual path to the target file.
physicalPath
stringThe physical path to the target file.
Returns
- WebPageRazorHost
A Razor host.