UsageWriterWriteColor Method

Writes a string with virtual terminal sequences only if color is enabled.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
protected void WriteColor(
	TextFormat color
)

Parameters

color  TextFormat
The color formatting.

Remarks

Nothing is written if the UseColor property is .

See Also