UsageWriterWriteAlias Method

Writes a single alias for use in the argument description list.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
protected virtual void WriteAlias(
	string alias,
	string prefix
)

Parameters

alias  String
The alias.
prefix  String
The argument name prefix; if using ParsingModeLongShort, this may vary depending on whether the alias is a short or long alias.

Remarks

The base implementation calls the WriteArgumentNameForDescription(String, String) method.

This method is called by the base implementation of the WriteAliases(IEnumerableString, IEnumerableChar, String, String) method.

See Also