ChooseTask.

AddCondition(ChooseTask.When) Method

Summary

One or more alternative sets of tasks to execute.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
ChooseTask

Syntax

[BuildElement("when", Required = true)]
public void AddCondition(ChooseTask.When when)

Attributes

Type Description
BuildElementAttribute Indicates that the property should be treated as an XML element and further processing should be done.

Parameters

Name Type Description
when ChooseTask.When The set of tasks to add.

Return Value

Type Description
void