Share via


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

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

Parameters

className
String

The name of the class.

rootNamespaceName
String

The root namespace.

sourceFileName
String

The file name of the asset source.

host
RazorEngineHost

The host.

Applies to