Summary
Topologically sorts a set of targets.
Syntax
public TargetCollection TopologicalTargetSort(string root, TargetCollection targets)
Parameters
| Name |
Type |
Description |
| root |
string |
The name of the root target. The sort is created in such a way that the sequence of targets up to the root target is the minimum possible such sequence. Must not be null. |
| targets |
TargetCollection |
A collection of NAnt.Core.Target instances. |
Return Value
| Type |
Description |
| TargetCollection |
A collection of NAnt.Core.Target instances in sorted order.
|