Compartir a través de


Workspace.OnAnalyzerReferenceAdded(ProjectId, AnalyzerReference) Método

Definición

Llame a este método cuando se agregue una referencia de analizador a un proyecto en el entorno 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

Se aplica a