Condividi tramite


Workspace.OnAnalyzerReferenceAdded(ProjectId, AnalyzerReference) Metodo

Definizione

Chiamare questo metodo quando un riferimento all'analizzatore viene aggiunto a un progetto nell'ambiente 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)

Parametri

projectId
ProjectId
analyzerReference
AnalyzerReference

Si applica a