MvcCSharpCodeGenerator Class

Definition

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
Inheritance
MvcCSharpCodeGenerator

Constructors

MvcCSharpCodeGenerator(CodeGeneratorContext, String, String, GeneratedTagHelperAttributeContext)

Properties

Context (Inherited from CodeGenerator)
Host (Inherited from CSharpCodeGenerator)
Tree (Inherited from CSharpCodeGenerator)

Methods

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

Provides an entry point to append code (after execute content) to a generated Razor class.

(Inherited from CSharpCodeGenerator)
BuildClassDeclaration(CSharpCodeWriter)
BuildConstructor(CSharpCodeWriter)
CreateCodeWriter()

Protected for testing.

(Inherited from CSharpCodeGenerator)
CreateCSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext)
CreateCSharpDesignTimeCodeVisitor(CSharpCodeVisitor, CSharpCodeWriter, CodeGeneratorContext)
Generate()
Generate() (Inherited from CSharpCodeGenerator)

Applies to