ChooseTask.

AddFallback(ElementContainer) Method

Summary

The set of tasks to execute if none of the NAnt.Core.Tasks.ChooseTask.When elements are true.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
ChooseTask

Syntax

[BuildElement("otherwise")]
public void AddFallback(ElementContainer fallback)

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
fallback ElementContainer

Return Value

Type Description
void