Megosztás a következőn keresztül:


Workspace.ApplyProjectAdded(ProjectInfo) Method

Definition

This method is called during TryApplyChanges(Solution) to add a project to the current solution.

Override this method to implement the capability of adding projects.

protected:
 virtual void ApplyProjectAdded(Microsoft::CodeAnalysis::ProjectInfo ^ project);
protected virtual void ApplyProjectAdded (Microsoft.CodeAnalysis.ProjectInfo project);
abstract member ApplyProjectAdded : Microsoft.CodeAnalysis.ProjectInfo -> unit
override this.ApplyProjectAdded : Microsoft.CodeAnalysis.ProjectInfo -> unit
Protected Overridable Sub ApplyProjectAdded (project As ProjectInfo)

Parameters

project
ProjectInfo

Applies to