다음을 통해 공유


MvcCSharpCodeGenerator 클래스

정의

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
상속
MvcCSharpCodeGenerator

생성자

MvcCSharpCodeGenerator(CodeGeneratorContext, String, String, GeneratedTagHelperAttributeContext)

속성

Context (다음에서 상속됨 CodeGenerator)
Host (다음에서 상속됨 CSharpCodeGenerator)
Tree (다음에서 상속됨 CSharpCodeGenerator)

메서드

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

생성된 Razor 클래스에 코드를 추가하는 진입점(콘텐츠 실행 후)을 제공합니다.

(다음에서 상속됨 CSharpCodeGenerator)
BuildClassDeclaration(CSharpCodeWriter)
BuildConstructor(CSharpCodeWriter)
CreateCodeWriter()

테스트를 위해 보호됩니다.

(다음에서 상속됨 CSharpCodeGenerator)
CreateCSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext)
CreateCSharpDesignTimeCodeVisitor(CSharpCodeVisitor, CSharpCodeWriter, CodeGeneratorContext)
Generate()
Generate() (다음에서 상속됨 CSharpCodeGenerator)

적용 대상