MvcRazorHost.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:
 override Microsoft::AspNetCore::Razor::CodeGenerators::CodeGenerator ^ DecorateCodeGenerator(Microsoft::AspNetCore::Razor::CodeGenerators::CodeGenerator ^ incomingGenerator, Microsoft::AspNetCore::Razor::CodeGenerators::CodeGeneratorContext ^ context);
public override Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator DecorateCodeGenerator (Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator incomingGenerator, Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext context);
override this.DecorateCodeGenerator : Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext -> Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator
Public Overrides Function DecorateCodeGenerator (incomingGenerator As CodeGenerator, context As CodeGeneratorContext) As CodeGenerator

Parâmetros

incomingGenerator
CodeGenerator

Retornos

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

Aplica-se a