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

Represents the descriptive properties of a command line option.
Наследование: IDisposable
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ToString ( ) : string

Returns a that represents the current .

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

Returns a formatted string describing this option and its aliases.

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

Метод Описание
OptionInfo ( UsageInfo usageInfo, Option option, OptionStyles optionStyle ) : System

Initializes a new instance of the OptionInfo class.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Returns a that represents the current .
public ToString ( ) : string
Результат string

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

Returns a formatted string describing this option and its aliases.
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