共用方式為


CSharpUsingVisitor 類別

定義

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

建構函式

CSharpUsingVisitor(CSharpCodeWriter, CodeGeneratorContext)

屬性

Context (繼承來源 ChunkVisitor<TWriter>)
ImportedUsings
Writer (繼承來源 ChunkVisitor<TWriter>)

方法

Accept(Chunk) System.Object.Accept(Microsoft.AspNetCore.Razor.Chunks.Chunk)
Accept(IList<Chunk>) (繼承來源 ChunkVisitor<TWriter>)
Visit(AddTagHelperChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(CodeAttributeChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(DynamicCodeAttributeChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(ExpressionBlockChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(ExpressionChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(LiteralChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(LiteralCodeAttributeChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(ParentChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(ParentLiteralChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(RemoveTagHelperChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(SectionChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(SetBaseTypeChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(StatementChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(TagHelperChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(TagHelperPrefixDirectiveChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(TemplateChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(TypeMemberChunk) (繼承來源 CodeVisitor<TWriter>)
Visit(UsingChunk)

適用於