CSharpTagHelperAttributeValueVisitor.Visit Method

Definition

Overloads

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(ParentChunk)

Writes code for the given chunk.

Visit(ParentLiteralChunk)
Visit(SectionChunk)

Writes code for the given chunk.

Visit(StatementChunk)

Writes code for the given chunk.

Visit(TemplateChunk)

Writes code for the given chunk.

Visit(ExpressionBlockChunk)

Writes code for the given chunk.

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::ExpressionBlockChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ExpressionBlockChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ExpressionBlockChunk -> unit
Protected Overrides Sub Visit (chunk As ExpressionBlockChunk)

Parameters

Applies to

Visit(ExpressionChunk)

Writes code for the given chunk.

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::ExpressionChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ExpressionChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ExpressionChunk -> unit
Protected Overrides Sub Visit (chunk As ExpressionChunk)

Parameters

chunk
ExpressionChunk

The ExpressionChunk to render.

Applies to

Visit(LiteralChunk)

Writes code for the given chunk.

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::LiteralChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.LiteralChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.LiteralChunk -> unit
Protected Overrides Sub Visit (chunk As LiteralChunk)

Parameters

chunk
LiteralChunk

The LiteralChunk to render.

Applies to

Visit(ParentChunk)

Writes code for the given chunk.

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::ParentChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ParentChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ParentChunk -> unit
Protected Overrides Sub Visit (chunk As ParentChunk)

Parameters

chunk
ParentChunk

The ParentChunk to render.

Remarks

Tracks code mappings for all children while writing.

Applies to

Visit(ParentLiteralChunk)

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::ParentLiteralChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ParentLiteralChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ParentLiteralChunk -> unit
Protected Overrides Sub Visit (chunk As ParentLiteralChunk)

Parameters

Applies to

Visit(SectionChunk)

Writes code for the given chunk.

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::SectionChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.SectionChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.SectionChunk -> unit
Protected Overrides Sub Visit (chunk As SectionChunk)

Parameters

chunk
SectionChunk

The SectionChunk to render.

Remarks

Unconditionally adds a RazorError to inform user of unexpected @section directive.

Applies to

Visit(StatementChunk)

Writes code for the given chunk.

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::StatementChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.StatementChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.StatementChunk -> unit
Protected Overrides Sub Visit (chunk As StatementChunk)

Parameters

chunk
StatementChunk

The StatementChunk to render.

Remarks

Unconditionally adds a RazorError to inform user of unexpected code block.

Applies to

Visit(TemplateChunk)

Writes code for the given chunk.

protected:
 override void Visit(Microsoft::AspNetCore::Razor::Chunks::TemplateChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.TemplateChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.TemplateChunk -> unit
Protected Overrides Sub Visit (chunk As TemplateChunk)

Parameters

chunk
TemplateChunk

The TemplateChunk to render.

Remarks

Unconditionally adds a RazorError to inform user of unexpected template e.g. @<p>paragraph@</p>.

Applies to