CSharpCodeGenerator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Inheritance
- Derived
Constructors
CSharpCodeGenerator(CodeGeneratorContext) |
Properties
Context | (Inherited from CodeGenerator) |
Host | |
Tree |
Methods
BuildAfterExecuteContent(CSharpCodeWriter, IList<Chunk>) |
Provides an entry point to append code (after execute content) to a generated Razor class. |
BuildClassDeclaration(CSharpCodeWriter) | |
BuildConstructor(CSharpCodeWriter) | |
CreateCodeWriter() |
Protected for testing. |
CreateCSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext) | |
CreateCSharpDesignTimeCodeVisitor(CSharpCodeVisitor, CSharpCodeWriter, CodeGeneratorContext) | |
Generate() |