C# Class CommandLine.HelpOptionAttribute

Inheritance: BaseOptionAttribute
Show file Open project: ErikEJ/SqlQueryStress Class Usage Examples

Public Methods

Method Description
HelpOptionAttribute ( ) : System

Initializes a new instance of the CommandLine.HelpOptionAttribute class.

HelpOptionAttribute ( string shortName, string longName ) : System

Initializes a new instance of the CommandLine.HelpOptionAttribute class. Allows you to define short and long option names.

Private Methods

Method Description
CheckMethodSignature ( MethodInfo value ) : bool
InvokeMethod ( object target, HelpOptionAttribute>.Pair pair, string &text ) : void

Method Details

HelpOptionAttribute() public method

Initializes a new instance of the CommandLine.HelpOptionAttribute class.
public HelpOptionAttribute ( ) : System
return System

HelpOptionAttribute() public method

Initializes a new instance of the CommandLine.HelpOptionAttribute class. Allows you to define short and long option names.
public HelpOptionAttribute ( string shortName, string longName ) : System
shortName string The short name of the option or null if not used.
longName string The long name of the option or null if not used.
return System