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