NAnt SDK Documentation - v0.92

Token.UnlessDefined Property

Indicates if the token should not be used to replace values. If false then the token will be used; otherwise, not. 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

Token Class | NAnt.Core.Types Namespace