C# Класс Microsoft.VisualStudio.Project.SolutionListenerForBuildDependencyUpdate

The purpose of this class is to set a build dependency from a modeling project to all its sub projects
Наследование: SolutionListener
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( System.IServiceProvider serviceProvider ) : System

Защищенные методы

Метод Описание
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

Описание методов

AddBuildDependenyToNestedProject() защищенный статический Метод

Add build dependency to ProjectContainerNode if IVsBuildDependency is supported by the nested project
protected static AddBuildDependenyToNestedProject ( IBuildDependencyUpdate projectContainer, IVsHierarchy nestedProject ) : void
projectContainer IBuildDependencyUpdate Project Container where we should add the build dependency
nestedProject IVsHierarchy Nested project to set a build dependency against
Результат void

GetListOfProjectContainerNodes() защищенный Метод

Enum all projects in the solution and collect all that derives from ProjectContainerNode
protected GetListOfProjectContainerNodes ( ) : List
Результат List

OnAfterOpenProject() публичный Метод

Update build dependency list if solution is fully loaded
public OnAfterOpenProject ( IVsHierarchy hierarchy, int added ) : int
hierarchy IVsHierarchy
added int
Результат int

OnAfterOpenSolution() публичный Метод

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
Результат int

SolutionListenerForBuildDependencyUpdate() публичный Метод

public SolutionListenerForBuildDependencyUpdate ( System.IServiceProvider serviceProvider ) : System
serviceProvider System.IServiceProvider
Результат System

UpdateDependencyListWithSubProjects() защищенный Метод

Update dependency list
protected UpdateDependencyListWithSubProjects ( IBuildDependencyOnProjectContainer projectNode ) : void
projectNode IBuildDependencyOnProjectContainer Project node to be updated. If null then all ProjectContainer nodes are updated
Результат void