프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CommandLineAction | System | ||
Create | |||
Create | |||
IsActionImplementation | bool | ||
IsActionImplementation | bool | ||
IsMatch | bool | ||
MakeUsageSummary | string | ||
PopulateArguments | object |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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 |
리턴 | CommandLineArgument |