UsageWriterWriteArgumentCategoryHeader Method

Writes a header for a category of arguments.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
protected virtual void WriteArgumentCategoryHeader(
	CategoryInfo category
)

Parameters

category  CategoryInfo
The category.

Remarks

The base implementation applies the ArgumentCategoryColor, and calls the WriteArgumentCategory(CategoryInfo) method to write the category description.

This method is called by the base implementation of the WriteArgumentDescriptions method once before the first argument in each category. It will not be called if none of the arguments have a category.

See Also