共用方式為


Solution.WithAnalyzerConfigDocumentTextLoader 方法

定義

使用指定的分析器組態檔建立新的解決方案實例,以讓文字載入器提供的文字。

public Microsoft.CodeAnalysis.Solution WithAnalyzerConfigDocumentTextLoader (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.TextLoader loader, Microsoft.CodeAnalysis.PreservationMode mode);
member this.WithAnalyzerConfigDocumentTextLoader : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.TextLoader * Microsoft.CodeAnalysis.PreservationMode -> Microsoft.CodeAnalysis.Solution
Public Function WithAnalyzerConfigDocumentTextLoader (documentId As DocumentId, loader As TextLoader, mode As PreservationMode) As Solution

參數

documentId
DocumentId
loader
TextLoader

傳回

適用於