Share via


ProjectDependencyGraph.GetTopologicallySortedProjects Method

Definition

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.

public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectId> GetTopologicallySortedProjects (System.Threading.CancellationToken cancellationToken = default);
member this.GetTopologicallySortedProjects : System.Threading.CancellationToken -> seq<Microsoft.CodeAnalysis.ProjectId>
Public Function GetTopologicallySortedProjects (Optional cancellationToken As CancellationToken = Nothing) As IEnumerable(Of ProjectId)

Parameters

cancellationToken
CancellationToken

Returns

Applies to