RazorCodeLanguage.CreateCodeGenerator(String, String, String, RazorEngineHost) RazorCodeLanguage.CreateCodeGenerator(String, String, String, RazorEngineHost) RazorCodeLanguage.CreateCodeGenerator(String, String, String, RazorEngineHost) Method

Definition

Creates the code generator for the Razor code language.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public abstract System.Web.Razor.Generator.RazorCodeGenerator CreateCodeGenerator (string className, string rootNamespaceName, string sourceFileName, System.Web.Razor.RazorEngineHost host);
abstract member CreateCodeGenerator : string * string * string * System.Web.Razor.RazorEngineHost -> System.Web.Razor.Generator.RazorCodeGenerator
Public MustOverride Function CreateCodeGenerator (className As String, rootNamespaceName As String, sourceFileName As String, host As RazorEngineHost) As RazorCodeGenerator
Parameters
className
String String String

The class name.

rootNamespaceName
String String String

The name of the root namespace.

sourceFileName
String String String

The source file name.

host
RazorEngineHost RazorEngineHost RazorEngineHost

The Razor engine host.

Returns

The code generator for the Razor code language.

Applies to