Свойство | Type | Description | |
---|---|---|---|
CommandLineArgument | System | ||
Create | CommandLineArgument | ||
Create | CommandLineArgument | ||
FindDefaultShortcuts | List |
||
FindMatchingArgumentInRawParseData | void | ||
GenerateShortcutAlias | string | ||
GetTypeNameWithGenericsStripped | string | ||
IsArgument | bool | ||
IsArgument | bool | ||
IsMatch | bool | ||
MapTypeName | string | ||
Populate | void | ||
PopulateArguments | void | ||
Revive | void | ||
RunAfterPopulateProperty | void | ||
RunArgumentHook | void | ||
RunBeforePopulateProperty | void | ||
Validate | void |
Méthode | Description | |
---|---|---|
CommandLineArgument ( |
Creates a command line argument of the given type and sets the first default alias.
|
|
TestIsValidAndRevivable ( string value ) : bool |
Tests to see if the given value would pass validation and revival.
|
|
ToString ( ) : string |
Gets the string representation of this argument.
|
Méthode | Description | |
---|---|---|
CommandLineArgument ( ) : System | ||
Create ( |
||
Create ( |
||
FindDefaultShortcuts ( |
||
FindMatchingArgumentInRawParseData ( PowerArgs.ArgHook context ) : void | ||
GenerateShortcutAlias ( string baseAlias, List |
||
GetTypeNameWithGenericsStripped ( |
||
IsArgument ( |
||
IsArgument ( |
||
IsMatch ( string key ) : bool | ||
MapTypeName ( |
||
Populate ( PowerArgs.ArgHook context ) : void | ||
PopulateArguments ( List |
||
Revive ( string commandLineValue ) : void | ||
RunAfterPopulateProperty ( PowerArgs.ArgHook context ) : void | ||
RunArgumentHook ( PowerArgs.ArgHook context, int>.Func |
||
RunBeforePopulateProperty ( PowerArgs.ArgHook context ) : void | ||
Validate ( string &commandLineValue ) : void |
public CommandLineArgument ( |
||
t | The CLR type of the argument | |
defaultAlias | string | The default name that users will use to specify this argument |
ignoreCase | bool | If true, the parser will match this argument even if the specifier doesn't match case. True by default. |
Résultat | System |
public TestIsValidAndRevivable ( string value ) : bool | ||
value | string | the value to test |
Résultat | bool |