Dela via


CSharpCodeVisitor Class

Definition

public ref class CSharpCodeVisitor : Microsoft::AspNetCore::Razor::CodeGenerators::Visitors::CodeVisitor<Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^>
public class CSharpCodeVisitor : Microsoft.AspNetCore.Razor.CodeGenerators.Visitors.CodeVisitor<Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter>
type CSharpCodeVisitor = class
    inherit CodeVisitor<CSharpCodeWriter>
Public Class CSharpCodeVisitor
Inherits CodeVisitor(Of CSharpCodeWriter)
Inheritance

Constructors

CSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext)

Properties

Context (Inherited from ChunkVisitor<TWriter>)
TagHelperRenderer
WriteAttributeValueMethodName

Gets the method name used to generate WriteAttribute invocations in the rendered page.

WriteMethodName

Method used to write an Object to the current output.

Writer (Inherited from ChunkVisitor<TWriter>)
WriteToMethodName

Method used to write an Object to a specified TextWriter.

Methods

Accept(Chunk) (Inherited from ChunkVisitor<TWriter>)
Accept(IList<Chunk>) (Inherited from ChunkVisitor<TWriter>)
CreateCodeMapping(String, String, Chunk)
CreateExpressionCodeMapping(String, Chunk)
CreateRawCodeMapping(String, SourceLocation)
CreateStatementCodeMapping(String, Chunk)
RenderDesignTimeExpressionBlockChunk(ExpressionBlockChunk)
RenderRuntimeExpressionBlockChunk(ExpressionBlockChunk)
Visit(AddTagHelperChunk) (Inherited from CodeVisitor<TWriter>)
Visit(CodeAttributeChunk)
Visit(DynamicCodeAttributeChunk)
Visit(ExpressionBlockChunk)
Visit(ExpressionChunk)
Visit(LiteralChunk)
Visit(LiteralCodeAttributeChunk)
Visit(ParentChunk)
Visit(ParentLiteralChunk)
Visit(RemoveTagHelperChunk) (Inherited from CodeVisitor<TWriter>)
Visit(SectionChunk)
Visit(SetBaseTypeChunk) (Inherited from CodeVisitor<TWriter>)
Visit(StatementChunk)
Visit(TagHelperChunk)
Visit(TagHelperPrefixDirectiveChunk) (Inherited from CodeVisitor<TWriter>)
Visit(TemplateChunk)
Visit(TypeMemberChunk) (Inherited from CodeVisitor<TWriter>)
Visit(UsingChunk) (Inherited from CodeVisitor<TWriter>)

Applies to