NAnt SDK Documentation - v0.92

Filter.UnlessDefined Property

Opposite of IfDefined. If false then the filter will be executed; otherwise, skipped. The default is false.

[Visual Basic]
<BooleanValidator, _  TaskAttribute(Required:=False, Name:="unless", ExpandProperties:=True, ProcessXml:=True)>
Public Property UnlessDefined As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Required=False, Name="unless", ExpandProperties=True, ProcessXml=True)]
public bool UnlessDefined {get; set;}

See Also

Filter Class | NAnt.Core.Filters Namespace