Compartir a través de


Workspace.ApplyProjectReferenceAdded(ProjectId, ProjectReference) Método

Definición

Se llama a este método durante TryApplyChanges(Solution) para agregar una referencia de proyecto a un proyecto.

Invalide este método para implementar la capacidad de agregar referencias de proyecto.

protected:
 virtual void ApplyProjectReferenceAdded(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected virtual void ApplyProjectReferenceAdded (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
abstract member ApplyProjectReferenceAdded : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
override this.ApplyProjectReferenceAdded : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Overridable Sub ApplyProjectReferenceAdded (projectId As ProjectId, projectReference As ProjectReference)

Parámetros

projectId
ProjectId
projectReference
ProjectReference

Se aplica a