Method | Description | |
---|---|---|
AddAlias ( string alias ) : void |
Adds the alias.
|
|
Option ( CommandLineOptionAttribute attribute, MemberInfo memberInfo, object cmdLineObject, ICollection |
Initializes a new instance of the Option class.
|
|
SetDefaultValue ( ) : void |
Sets this option to its default value.
|
Method | Description | |
---|---|---|
AppendToArray ( |
||
AppendToCollection ( object collection, object value ) : void | ||
ConvertValueTypeForSetOperation ( object value ) : object | ||
GetBaseType ( Type type ) : Type | ||
GetCheckedValueForSetOperation ( object value ) : object |
Gets the checked value for set operation.
|
|
IsArray ( Type type ) : bool | ||
IsCollectionType ( Type type ) : bool | ||
IsGenericCollectionType ( Type type ) : bool | ||
IsNonGenericCollectionType ( Type type ) : bool | ||
IsTypeSupported ( Type type ) : bool | ||
SetFieldValue ( object value ) : void | ||
SetMethodValue ( object value ) : void | ||
SetPropertyValue ( object value ) : void |
public AddAlias ( string alias ) : void | ||
alias | string | The alias. |
return | void |
public Option ( CommandLineOptionAttribute attribute, MemberInfo memberInfo, object cmdLineObject, ICollection |
||
attribute | CommandLineOptionAttribute | The attribute describing this option. |
memberInfo | MemberInfo | The |
cmdLineObject | object | The command line manager object. |
optionGroups | ICollection |
A complete list of all available option groups. |
numberFormatInfo | NumberFormatInfo | The number format info to use for parsing numerical arguments. |
return | System |