RazorEngineHost.DecorateCodeGenerator(RazorCodeGenerator) 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.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.