Workspace.ApplyAnalyzerConfigDocumentTextChanged 方法

定义

调用此方法以更改分析器配置文档的文本。

重写此方法以实现更改分析器配置文档文本的功能。

protected virtual void ApplyAnalyzerConfigDocumentTextChanged (Microsoft.CodeAnalysis.DocumentId id, Microsoft.CodeAnalysis.Text.SourceText text);
abstract member ApplyAnalyzerConfigDocumentTextChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText -> unit
override this.ApplyAnalyzerConfigDocumentTextChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.Text.SourceText -> unit
Protected Overridable Sub ApplyAnalyzerConfigDocumentTextChanged (id As DocumentId, text As SourceText)

参数

text
SourceText

适用于