UsageWriterWriteArgumentDescriptionHeader Method

Writes the header of an argument's description, which is usually the name and value description.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
protected virtual void WriteArgumentDescriptionHeader(
	CommandLineArgument argument
)

Parameters

argument  CommandLineArgument
The argument

Remarks

The base implementation writes the name(s), value description, and alias(es), ending with a new line. Which elements are included can be influenced using the properties of this class.

If color is enabled, the ArgumentDescriptionColor property is used.

This method is called by the base implementation of the WriteArgumentDescription(CommandLineArgument) method.

See Also