Summary
Indicates if the import should be generated.
- Assembly
- NAnt
.DotNet .dll - Namespace
- NAnt
.DotNet .Types - Containing Type
- NamespaceImport
Syntax
[TaskAttribute("if")]
[BooleanValidator()]
public bool IfDefined { get; set; }
Attributes
| Type | Description |
|---|---|
| Task |
Indicates that property should be treated as a XML attribute for the task. |
| Boolean |
Used to indicate that a property should be able to be converted into a
bool.
|
Value
| Type | Description |
|---|---|
| bool |
true if the import should be generated; otherwise,
false.
|
