RazorEngineHost.DecorateCodeGenerator Method

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

Returns the methods as language-specific Razor code generator.

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

public virtual RazorCodeGenerator DecorateCodeGenerator(
	RazorCodeGenerator incomingCodeGenerator
)

Parameters

incomingCodeGenerator
Type: System.Web.Razor.Generator.RazorCodeGenerator
The C# or Visual Basic code generator.

Return Value

Type: System.Web.Razor.Generator.RazorCodeGenerator
The methods as language-specific Razor code generator.
Show: