Workspace.OnAnalyzerConfigDocumentAdded(DocumentInfo) 方法

定义

将分析器配置文档添加到主机环境中的项目时调用此方法。

protected internal void OnAnalyzerConfigDocumentAdded (Microsoft.CodeAnalysis.DocumentInfo documentInfo);
member this.OnAnalyzerConfigDocumentAdded : Microsoft.CodeAnalysis.DocumentInfo -> unit
Protected Friend Sub OnAnalyzerConfigDocumentAdded (documentInfo As DocumentInfo)

参数

documentInfo
DocumentInfo

适用于