MvcWebPageRazorHost.DecorateCodeGenerator Method (RazorCodeGenerator)

 

Returns the ASP.NET MVC language-specific Razor code generator.

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

public override 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 ASP.NET MVC language-specific Razor code generator.

Return to top
Show: