C# Class VsTeXProject.VisualStudio.Project.SolutionListenerForBuildDependencyUpdate

The purpose of this class is to set a build dependency from a modeling project to all its sub projects
Inheritance: SolutionListener
Exibir arquivo Open project: mimura1133/vstex

Public Methods

Method Description
OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int

Update build dependency list if solution is fully loaded

OnAfterOpenSolution ( object pUnkReserved, int fNewSolution ) : int

Called at load time when solution has finished opening.

SolutionListenerForBuildDependencyUpdate ( IServiceProvider serviceProvider ) : System

Private Methods

Method Description
AddBuildDependenyToNestedProject ( IBuildDependencyUpdate projectContainer, IVsHierarchy nestedProject ) : void

Add build dependency to ProjectContainerNode if IVsBuildDependency is supported by the nested project

GetListOfProjectContainerNodes ( ) : List

Enum all projects in the solution and collect all that derives from ProjectContainerNode

UpdateDependencyListWithSubProjects ( IBuildDependencyOnProjectContainer projectNode ) : void

Update dependency list

Method Details

OnAfterOpenProject() public method

Update build dependency list if solution is fully loaded
public OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
hierarchy IVsHierarchy
added int
return int

OnAfterOpenSolution() public method

Called at load time when solution has finished opening.
public OnAfterOpenSolution ( object pUnkReserved, int fNewSolution ) : int
pUnkReserved object reserved
fNewSolution int true if this is a new solution
return int

SolutionListenerForBuildDependencyUpdate() public method

public SolutionListenerForBuildDependencyUpdate ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
return System