NAnt SDK Documentation - v0.92

NamespaceImport.UnlessDefined Property

Indicates if the import should be not generated.

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

Property Value

true if the import should be not generated; otherwise, false.

See Also

NamespaceImport Class | NAnt.DotNet.Types Namespace