Filter.

UnlessDefined Property

Summary

Opposite of NAnt.Core.Filters.Filter.IfDefined. If false then the filter will be executed; otherwise, skipped. The default is false.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Filters
Containing Type
Filter

Syntax

[TaskAttribute("unless")]
[BooleanValidator()]
public bool UnlessDefined { 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