NAnt SDK Documentation - v0.92

Category.UnlessDefined Property

If true then the category will be skipped; otherwise, processed. The default is false.

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

See Also

Category Class | NAnt.NUnit2.Types Namespace