RazorEditorParser(RazorEngineHost, String) Constructor

Definition

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.

Applies to