Share via


RazorCodeGenerator(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 RazorCodeGenerator class.

protected RazorCodeGenerator (string className, string rootNamespaceName, string sourceFileName, System.Web.Razor.RazorEngineHost host);
new System.Web.Razor.Generator.RazorCodeGenerator : string * string * string * System.Web.Razor.RazorEngineHost -> System.Web.Razor.Generator.RazorCodeGenerator
Protected Sub New (className As String, rootNamespaceName As String, sourceFileName As String, host As RazorEngineHost)

Parameters

className
String

The class name.

rootNamespaceName
String

The root namespace name.

sourceFileName
String

The source file name.

host
RazorEngineHost

The host.

Applies to