ChooseTask.When.

ChooseTask.

Test Property

Summary

Used to test arbitrary boolean expression.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
ChooseTask.When

Syntax

[TaskAttribute("test", Required = true)]
[BooleanValidator()]
public bool Test { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool