Delen via


ProjectDependencyGraph Class

Definition

A ProjectDependencyGraph models the dependencies between projects in a solution.

public ref class ProjectDependencyGraph
public class ProjectDependencyGraph
type ProjectDependencyGraph = class
Public Class ProjectDependencyGraph
Inheritance
ProjectDependencyGraph

Methods

GetDependencySets(CancellationToken)

Returns a sequence of sets, where each set contains items with shared interdependency, and there is no dependency between sets. Each set returned will sorted in topological order.

GetProjectsThatDirectlyDependOnThisProject(ProjectId)

Gets the list of projects that directly depend on this project.

GetProjectsThatThisProjectDirectlyDependsOn(ProjectId)

Gets the list of projects that this project directly depends on.

GetProjectsThatThisProjectTransitivelyDependsOn(ProjectId)

Gets the list of projects that directly or transitively this project depends on

GetProjectsThatTransitivelyDependOnThisProject(ProjectId)

Gets the list of projects that directly or transitively depend on this project.

GetTopologicallySortedProjects(CancellationToken)

Returns all the projects for the solution in a topologically sorted order with respect to their dependencies. Projects that depend on other projects will always show up later in this sequence than the projects they depend on.

Applies to