MvcCSharpCodeGenerator 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 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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for