RazorEngineHost.DecorateCodeGenerator(RazorCodeGenerator) Method

Definition

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.

public virtual System.Web.Razor.Generator.RazorCodeGenerator DecorateCodeGenerator (System.Web.Razor.Generator.RazorCodeGenerator incomingCodeGenerator);
abstract member DecorateCodeGenerator : System.Web.Razor.Generator.RazorCodeGenerator -> System.Web.Razor.Generator.RazorCodeGenerator
override this.DecorateCodeGenerator : System.Web.Razor.Generator.RazorCodeGenerator -> System.Web.Razor.Generator.RazorCodeGenerator
Public Overridable Function DecorateCodeGenerator (incomingCodeGenerator As RazorCodeGenerator) As RazorCodeGenerator

Parameters

incomingCodeGenerator
RazorCodeGenerator

The C# or Visual Basic code generator.

Returns

The methods as language-specific Razor code generator.

Applies to