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 |
|---|---|
| Build |
Indicates that the property should be treated as an XML element and further processing should be done. |
Parameters
| Name | Type | Description |
|---|---|---|
| when | ChooseTask |
The set of tasks to add. |
Return Value
| Type | Description |
|---|---|
| void |
