MvcCSharpCodeGenerator Classe

Definição

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

Construtores

MvcCSharpCodeGenerator(CodeGeneratorContext, String, String, GeneratedTagHelperAttributeContext)

Propriedades

Context (Herdado de CodeGenerator)
Host (Herdado de CSharpCodeGenerator)
Tree (Herdado de CSharpCodeGenerator)

Métodos

BuildAfterExecuteContent(CSharpCodeWriter, IList<Chunk>)
BuildAfterExecuteContent(CSharpCodeWriter, IList<Chunk>)

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

(Herdado de CSharpCodeGenerator)
BuildClassDeclaration(CSharpCodeWriter)
BuildConstructor(CSharpCodeWriter)
CreateCodeWriter()

Protegido para teste.

(Herdado de CSharpCodeGenerator)
CreateCSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext)
CreateCSharpDesignTimeCodeVisitor(CSharpCodeVisitor, CSharpCodeWriter, CodeGeneratorContext)
Generate()
Generate() (Herdado de CSharpCodeGenerator)

Aplica-se a