Condividi tramite


MvcCSharpCodeGenerator Classe

Definizione

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
Ereditarietà
MvcCSharpCodeGenerator

Costruttori

MvcCSharpCodeGenerator(CodeGeneratorContext, String, String, GeneratedTagHelperAttributeContext)

Proprietà

Context (Ereditato da CodeGenerator)
Host (Ereditato da CSharpCodeGenerator)
Tree (Ereditato da CSharpCodeGenerator)

Metodi

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

Fornisce un punto di ingresso per accodare il codice (dopo l'esecuzione del contenuto) a una classe Razor generata.

(Ereditato da CSharpCodeGenerator)
BuildClassDeclaration(CSharpCodeWriter)
BuildConstructor(CSharpCodeWriter)
CreateCodeWriter()

Protetto per i test.

(Ereditato da CSharpCodeGenerator)
CreateCSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext)
CreateCSharpDesignTimeCodeVisitor(CSharpCodeVisitor, CSharpCodeWriter, CodeGeneratorContext)
Generate()
Generate() (Ereditato da CSharpCodeGenerator)

Si applica a