C# Class Crisis.CommandLine.OptionGroupInfo

Represents the descriptive properties of an option group.
显示文件 Open project: teeknofil/Crisis-Wordlist-Generator

Public Methods

Method Description
GetOption ( string optionName ) : OptionInfo

Gets the option with the specified name from this group.

ToString ( int indent, int nameColumnWidth, int descriptionColumnWidth ) : string

Retrieves a formatted string describing this option group and its options, suitable for displaying to the user as a help message.

Private Methods

Method Description
OptionGroupInfo ( UsageInfo usageInfo, OptionGroup optionGroup, OptionStyles optionStyles ) : System

Initializes a new instance of the OptionGroupInfo class.

Method Details

GetOption() public method

Gets the option with the specified name from this group.
public GetOption ( string optionName ) : OptionInfo
optionName string Name of the option.
return OptionInfo

ToString() public method

Retrieves a formatted string describing this option group and its options, suitable for displaying to the user as a help message.
public ToString ( int indent, int nameColumnWidth, int descriptionColumnWidth ) : string
indent int The indentation to use.
nameColumnWidth int Width of the name column.
descriptionColumnWidth int Width of the description column.
return string