C# Класс Crisis.CommandLine.OptionGroupInfo

Represents the descriptive properties of an option group.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
OptionGroupInfo ( UsageInfo usageInfo, OptionGroup optionGroup, OptionStyles optionStyles ) : System

Initializes a new instance of the OptionGroupInfo class.

Описание методов

GetOption() публичный Метод

Gets the option with the specified name from this group.
public GetOption ( string optionName ) : OptionInfo
optionName string Name of the option.
Результат OptionInfo

ToString() публичный Метод

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.
Результат string