共用方式為


CodeVisitor<TWriter>.Visit 方法

定義

多載

Visit(TemplateChunk)
Visit(TagHelperPrefixDirectiveChunk)
Visit(TagHelperChunk)
Visit(StatementChunk)
Visit(SetBaseTypeChunk)
Visit(SectionChunk)
Visit(RemoveTagHelperChunk)
Visit(TypeMemberChunk)
Visit(ParentLiteralChunk)
Visit(LiteralCodeAttributeChunk)
Visit(LiteralChunk)
Visit(ExpressionChunk)
Visit(ExpressionBlockChunk)
Visit(DynamicCodeAttributeChunk)
Visit(CodeAttributeChunk)
Visit(AddTagHelperChunk)
Visit(ParentChunk)
Visit(UsingChunk)

Visit(TemplateChunk)

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)

參數

適用於

Visit(TagHelperPrefixDirectiveChunk)

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

參數

適用於

Visit(TagHelperChunk)

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

參數

適用於

Visit(StatementChunk)

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)

參數

適用於

Visit(SetBaseTypeChunk)

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

參數

適用於

Visit(SectionChunk)

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)

參數

chunk
SectionChunk

適用於

Visit(RemoveTagHelperChunk)

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

參數

適用於

Visit(TypeMemberChunk)

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

參數

適用於

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)

參數

適用於

Visit(LiteralCodeAttributeChunk)

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

參數

適用於

Visit(LiteralChunk)

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)

參數

chunk
LiteralChunk

適用於

Visit(ExpressionChunk)

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)

參數

適用於

Visit(ExpressionBlockChunk)

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)

參數

適用於

Visit(DynamicCodeAttributeChunk)

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

參數

適用於

Visit(CodeAttributeChunk)

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

參數

適用於

Visit(AddTagHelperChunk)

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

參數

適用於

Visit(ParentChunk)

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)

參數

chunk
ParentChunk

適用於

Visit(UsingChunk)

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

參數

chunk
UsingChunk

適用於