Workspace.OnAnalyzerReferenceAdded(ProjectId, AnalyzerReference) Método

Definição

Chame esse método quando uma referência do analisador for adicionada a um projeto no ambiente do host.

protected public:
 void OnAnalyzerReferenceAdded(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^ analyzerReference);
protected internal void OnAnalyzerReferenceAdded (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.OnAnalyzerReferenceAdded : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> unit
Protected Friend Sub OnAnalyzerReferenceAdded (projectId As ProjectId, analyzerReference As AnalyzerReference)

Parâmetros

projectId
ProjectId
analyzerReference
AnalyzerReference

Aplica-se a