Summary
Adds a new command option if none exists. If one does exist then
the use switch is toggled on or of.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks - Containing Type
- Astyle
Syntax
protected void SetCommandOption(string name, string value, bool on)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The common name of the option. |
| value | string | The option value or command line switch of the option. |
| on | bool | true if the option should be appended to the commandline, otherwise false. |
Return Value
| Type | Description |
|---|---|
| void |
