RazorEditorParser(RazorEngineHost, String) Constructor
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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Constructs the editor parser.
public RazorEditorParser(System.Web.Razor.RazorEngineHost host, string sourceFileName);
new System.Web.Razor.RazorEditorParser : System.Web.Razor.RazorEngineHost * string -> System.Web.Razor.RazorEditorParser
Public Sub New (host As RazorEngineHost, sourceFileName As String)
Parameters
- host
- RazorEngineHost
The RazorEngineHost which defines the environment in which the generated code will live.
- sourceFileName
- String
The physical path to use in line pragmas.