VBRazorCodeLanguage.CreateCodeGenerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates the code language generator.
public override System.Web.Razor.Generator.RazorCodeGenerator CreateCodeGenerator(string className, string rootNamespaceName, string sourceFileName, System.Web.Razor.RazorEngineHost host);
override this.CreateCodeGenerator : string * string * string * System.Web.Razor.RazorEngineHost -> System.Web.Razor.Generator.RazorCodeGenerator
Public Overrides Function CreateCodeGenerator (className As String, rootNamespaceName As String, sourceFileName As String, host As RazorEngineHost) As RazorCodeGenerator
Parameters
- className
- String
The name of the class.
- rootNamespaceName
- String
The root namespace name.
- sourceFileName
- String
The source File name.
- host
- RazorEngineHost
The RazorEngineHost.
Returns
The code language generator.