Partilhar via


CSharpCodeVisitor Classe

Definição

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)
Herança

Construtores

CSharpCodeVisitor(CSharpCodeWriter, CodeGeneratorContext)

Propriedades

Context (Herdado de ChunkVisitor<TWriter>)
TagHelperRenderer
WriteAttributeValueMethodName

Obtém o nome do método usado para gerar WriteAttribute invocações na página renderizada.

WriteMethodName

Método usado para gravar um Object na saída atual.

Writer (Herdado de ChunkVisitor<TWriter>)
WriteToMethodName

Método usado para gravar um Object em um especificado TextWriter.

Métodos

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

Aplica-se a