Property | Type | Description | |
---|---|---|---|
CommandLineAction | System | ||
Create | |||
Create | |||
IsActionImplementation | bool | ||
IsActionImplementation | bool | ||
IsMatch | bool | ||
MakeUsageSummary | string | ||
PopulateArguments | object |
Method | Description | |
---|---|---|
CommandLineAction ( Action |
Creates a new command line action given an implementation.
|
|
Equals ( object obj ) : bool |
Determines if 2 actions are the same based on their source.
|
|
FindMatchingArgument ( string key, bool throwIfMoreThanOneMatch = false ) : CommandLineArgument |
Finds the first CommandLineArgument that matches the given key.
|
|
ToString ( ) : string |
Gets a string representation of this action.
|
Method | Description | |
---|---|---|
CommandLineAction ( ) : System | ||
Create ( |
||
Create ( |
||
IsActionImplementation ( |
||
IsActionImplementation ( |
||
IsMatch ( string actionString ) : bool | ||
MakeUsageSummary ( bool htmlEncodeBrackets = false ) : string | ||
PopulateArguments ( object parent, object ¶meters ) : object |
public CommandLineAction ( Action |
||
actionHandler | Action |
The implementation of the action. |
return | System |
public FindMatchingArgument ( string key, bool throwIfMoreThanOneMatch = false ) : CommandLineArgument | ||
key | string | The key as if it was typed in on the command line. This can also be an alias. |
throwIfMoreThanOneMatch | bool | If set to true then this method will throw and InvalidArgDeginitionException if more than 1 match is found |
return | CommandLineArgument |