CodeVisitor<TWriter>.Visit 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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)
参数
- chunk
- 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