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

返回

适用于