VBRazorCodeGenerator Constructor

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

  • sourceFileName
    Type: System.String
    The file name of the asset source.

See Also

Reference

VBRazorCodeGenerator Class

System.Web.Razor.Generator Namespace