C# Class Crisis.CommandLine.OptionInfo

Represents the descriptive properties of a command line option.
Inheritance: IDisposable
Datei anzeigen Open project: teeknofil/Crisis-Wordlist-Generator

Public Methods

Method Description
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.

Private Methods

Method Description
OptionInfo ( UsageInfo usageInfo, Option option, OptionStyles optionStyle ) : System

Initializes a new instance of the OptionInfo class.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

ToString() public method

Returns a that represents the current .
public ToString ( ) : string
return string

ToString() public method

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.
return string