CSharpTagHelperAttributeValueVisitor Class

Definition

CodeVisitor<TWriter> that writes code for a non-string tag helper bound attribute value.

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

Remarks

Since attribute value is not written out as HTML, does not emit instrumentation. Further this CodeVisitor<TWriter> writes identical code at design- and runtime.

Constructors

CSharpTagHelperAttributeValueVisitor(CSharpCodeWriter, CodeGeneratorContext, String)

Initializes a new instance of the CSharpTagHelperAttributeValueVisitor class.

Properties

Context (Inherited from ChunkVisitor<TWriter>)
Writer (Inherited from ChunkVisitor<TWriter>)

Methods

Accept(Chunk) (Inherited from ChunkVisitor<TWriter>)
Accept(IList<Chunk>) (Inherited from ChunkVisitor<TWriter>)
Visit(AddTagHelperChunk) (Inherited from CodeVisitor<TWriter>)
Visit(CodeAttributeChunk) (Inherited from CodeVisitor<TWriter>)
Visit(DynamicCodeAttributeChunk) (Inherited from CodeVisitor<TWriter>)
Visit(ExpressionBlockChunk)

Writes code for the given chunk.

Visit(ExpressionChunk)

Writes code for the given chunk.

Visit(LiteralChunk)

Writes code for the given chunk.

Visit(LiteralCodeAttributeChunk) (Inherited from CodeVisitor<TWriter>)
Visit(ParentChunk)

Writes code for the given chunk.

Visit(ParentLiteralChunk)
Visit(RemoveTagHelperChunk) (Inherited from CodeVisitor<TWriter>)
Visit(SectionChunk)

Writes code for the given chunk.

Visit(SetBaseTypeChunk) (Inherited from CodeVisitor<TWriter>)
Visit(StatementChunk)

Writes code for the given chunk.

Visit(TagHelperChunk) (Inherited from CodeVisitor<TWriter>)
Visit(TagHelperPrefixDirectiveChunk) (Inherited from CodeVisitor<TWriter>)
Visit(TemplateChunk)

Writes code for the given chunk.

Visit(TypeMemberChunk) (Inherited from CodeVisitor<TWriter>)
Visit(UsingChunk) (Inherited from CodeVisitor<TWriter>)

Applies to