CakeGraph.

Traverse(IEnumerable<string>) Method

Summary

Traverses the graph for multiple targets, returning a single dependency-ordered sequence where each node appears only once. Shared dependencies of the targets are executed once.
Namespace
Cake.Core.Graph
Containing Type
CakeGraph

Syntax

public IEnumerable<string> Traverse(IEnumerable<string> targets)

Parameters

Name Type Description
targets IEnumerable<string> The targets to traverse.

Return Value

Type Description
IEnumerable<string> A list of nodes in dependency order, with no duplicates.