C# Class RazorEngine.Compilation.VBRazorCodeGenerator

Defines a code generator that supports VB syntax.
Inheritance: System.Web.Razor.Generator.VBRazorCodeGenerator
显示文件 Open project: tqc/RazorEngine

Public Methods

Method Description
VBRazorCodeGenerator ( string className, string rootNamespaceName, string sourceFileName, RazorEngineHost host ) : System.Web.Razor

Initialises a new instance of VBRazorCodeGenerator.

VisitError ( RazorError err ) : void

Visits an error generated through parsing.

Method Details

VBRazorCodeGenerator() public method

Initialises a new instance of VBRazorCodeGenerator.
public VBRazorCodeGenerator ( string className, string rootNamespaceName, string sourceFileName, RazorEngineHost host ) : System.Web.Razor
className string The name of the generated class.
rootNamespaceName string The namespace of the generated class.
sourceFileName string The source file filename.
host RazorEngineHost The instance.
return System.Web.Razor

VisitError() public method

Visits an error generated through parsing.
public VisitError ( RazorError err ) : void
err RazorError The error that was generated.
return void