CodeVisitor<TWriter> 类

定义

generic <typename TWriter>
 where TWriter : CodeWriterpublic ref class CodeVisitor : Microsoft::AspNetCore::Razor::CodeGenerators::Visitors::ChunkVisitor<TWriter>
public class CodeVisitor<TWriter> : Microsoft.AspNetCore.Razor.CodeGenerators.Visitors.ChunkVisitor<TWriter> where TWriter : CodeWriter
type CodeVisitor<'Writer (requires 'Writer :> CodeWriter)> = class
    inherit ChunkVisitor<'Writer (requires 'Writer :> CodeWriter)>
Public Class CodeVisitor(Of TWriter)
Inherits ChunkVisitor(Of TWriter)

类型参数

TWriter
继承
CodeVisitor<TWriter>
派生

构造函数

CodeVisitor<TWriter>(TWriter, CodeGeneratorContext)

属性

Context (继承自 ChunkVisitor<TWriter>)
Writer (继承自 ChunkVisitor<TWriter>)

方法

Accept(Chunk) (继承自 ChunkVisitor<TWriter>)
Accept(IList<Chunk>) (继承自 ChunkVisitor<TWriter>)
Visit(AddTagHelperChunk)
Visit(CodeAttributeChunk)
Visit(DynamicCodeAttributeChunk)
Visit(ExpressionBlockChunk)
Visit(ExpressionChunk)
Visit(LiteralChunk)
Visit(LiteralCodeAttributeChunk)
Visit(ParentChunk)
Visit(ParentLiteralChunk)
Visit(RemoveTagHelperChunk)
Visit(SectionChunk)
Visit(SetBaseTypeChunk)
Visit(StatementChunk)
Visit(TagHelperChunk)
Visit(TagHelperPrefixDirectiveChunk)
Visit(TemplateChunk)
Visit(TypeMemberChunk)
Visit(UsingChunk)

适用于