Represents an option.
Parameters
Attribute | Type | Description | Required |
---|---|---|---|
name | string |
Name of the option.
|
True |
if | bool |
Indicates if the option should be passed to the task.
If
true then the option will be passed;
otherwise, skipped. The default is true .
|
False |
unless | bool |
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 .
|
False |
value | string |
Value of the option. The default is
null .
|
False |
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Types