NAnt SDK Documentation - v0.92

Option.UnlessDefined Property

Indicates if the option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false.

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

See Also

Option Class | NAnt.Core.Types Namespace