CSharpRazorCodeGenerator(String, String, String, RazorEngineHost) CSharpRazorCodeGenerator(String, String, String, RazorEngineHost) CSharpRazorCodeGenerator(String, String, String, RazorEngineHost) Constructor

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CSharpRazorCodeGenerator class.

public CSharpRazorCodeGenerator (string className, string rootNamespaceName, string sourceFileName, System.Web.Razor.RazorEngineHost host);
new System.Web.Razor.Generator.CSharpRazorCodeGenerator : string * string * string * System.Web.Razor.RazorEngineHost -> System.Web.Razor.Generator.CSharpRazorCodeGenerator
Public Sub New (className As String, rootNamespaceName As String, sourceFileName As String, host As RazorEngineHost)
Parameters
className
String String String

The class name for the generated class type declaration.

rootNamespaceName
String String String

The name for the generated namespace declaration.

sourceFileName
String String String

The source file.

host
RazorEngineHost RazorEngineHost RazorEngineHost

The Razor engine host.

Applies to