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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected void WriteColor(
	TextFormat color
)

Parameters

color  TextFormat
The color formatting.

Remarks

Nothing is written if the UseColor property is .

See Also