ProjectDependencyGraph.GetTopologicallySortedProjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.