MvcRazorHost.DecorateCodeGenerator Metodo

Definizione

Ottiene un'istanza del generatore di codice e viene fornita l'opportunità di decorarla o sostituirla

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

Parametri

incomingGenerator
CodeGenerator

Restituisce

Lo stesso generatore di codice, dopo le modifiche o un generatore di codice diverso.

Si applica a