RazorEngineHost.DecorateCodeGenerator Método

Definição

Obtém uma instância do gerador de código e tem a oportunidade de decorá-la ou substituí-la

public:
 virtual Microsoft::AspNetCore::Razor::CodeGenerators::CodeGenerator ^ DecorateCodeGenerator(Microsoft::AspNetCore::Razor::CodeGenerators::CodeGenerator ^ incomingBuilder, Microsoft::AspNetCore::Razor::CodeGenerators::CodeGeneratorContext ^ context);
public virtual Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator DecorateCodeGenerator (Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator incomingBuilder, Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext context);
abstract member DecorateCodeGenerator : Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext -> Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator
override this.DecorateCodeGenerator : Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext -> Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator
Public Overridable Function DecorateCodeGenerator (incomingBuilder As CodeGenerator, context As CodeGeneratorContext) As CodeGenerator

Parâmetros

incomingBuilder
CodeGenerator

O CodeGenerator.

Retornos

O mesmo gerador de código, após modificações ou um gerador de código diferente.

Aplica-se a