Summary
Writes an option and its value using the default output format.
- Assembly
- NAnt
.DotNet .dll - Namespace
- NAnt
.DotNet .Tasks - Containing Type
- CompilerBase
Syntax
protected virtual void WriteOption(TextWriter writer, string name, string value)
Remarks
The combination of name and
value (separated by a colon) is quoted
unless value is already surrounded by quotes.
Parameters
Name | Type | Description |
---|---|---|
writer | TextWriter | The System.IO.TextWriter to which the compiler options should be written. |
name | string | The name of the option which should be passed to the compiler. |
value | string | The value of the option which should be passed to the compiler. |
Return Value
Type | Description |
---|---|
void |