Summary
Adds a new global option if none exists. If one does exist then
the use switch is toggled on or of.
- Assembly
- NAnt
.SourceControl .dll - Namespace
- NAnt
.SourceControl .Tasks - Containing Type
- Abstract
Source Control Task
Syntax
protected void SetGlobalOption(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 | if the option should be
appended to the command line, otherwise . |
Return Value
| Type | Description |
|---|---|
| void |
