Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: System.Web.Razor.Generator
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Sub New ( _
className As String, _
rootNamespaceName As String, _
sourceFileName As String, _
host As RazorEngineHost _
)
'Usage
Dim className As String
Dim rootNamespaceName As String
Dim sourceFileName As String
Dim host As RazorEngineHost
Dim instance As New VBRazorCodeGenerator(className, _
rootNamespaceName, sourceFileName, _
host)
public VBRazorCodeGenerator(
string className,
string rootNamespaceName,
string sourceFileName,
RazorEngineHost host
)
public:
VBRazorCodeGenerator(
String^ className,
String^ rootNamespaceName,
String^ sourceFileName,
RazorEngineHost^ host
)
new :
className:string *
rootNamespaceName:string *
sourceFileName:string *
host:RazorEngineHost -> VBRazorCodeGenerator
public function VBRazorCodeGenerator(
className : String,
rootNamespaceName : String,
sourceFileName : String,
host : RazorEngineHost
)
Parameters
- className
Type: System.String
The name of the class.
- rootNamespaceName
Type: System.String
The root namespace.
- sourceFileName
Type: System.String
The file name of the asset source.
- host
Type: System.Web.Razor.RazorEngineHost
The host.