Compartilhar via


CSharpCodeGenerator Classe

Definição

public ref class CSharpCodeGenerator : Microsoft::AspNetCore::Razor::CodeGenerators::CodeGenerator
public class CSharpCodeGenerator : Microsoft.AspNetCore.Razor.CodeGenerators.CodeGenerator
type CSharpCodeGenerator = class
    inherit CodeGenerator
Public Class CSharpCodeGenerator
Inherits CodeGenerator
Herança
CSharpCodeGenerator
Derivado

Construtores

CSharpCodeGenerator(CodeGeneratorContext)

Propriedades

Context (Herdado de CodeGenerator)
Host
Tree

Métodos

BuildAfterExecuteContent(CSharpCodeWriter, IList<Chunk>)

Fornece um ponto de entrada para acrescentar código (após executar conteúdo) a uma classe Razor gerada.

BuildClassDeclaration(CSharpCodeWriter)
BuildConstructor(CSharpCodeWriter)
CreateCodeWriter()

Protegido para teste.

CreateCSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext)
CreateCSharpDesignTimeCodeVisitor(CSharpCodeVisitor, CSharpCodeWriter, CodeGeneratorContext)
Generate()

Aplica-se a