Project.

TopologicalTargetSort(string, TargetCollection) Method

Summary

Topologically sorts a set of targets.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Project

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.