Property | Type | Description | |
---|---|---|---|
_Command | IConsoleCommand |
Method | Description | |
---|---|---|
Ask ( string question ) : bool |
Asks the specified question.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
ParseArguments ( string args ) : void |
Parse application-specific arguments.
|
|
Run ( string args ) : void |
Run the application
|
|
ShowUsage ( ) : void |
Display usage information for this application
|
Method | Description | |
---|---|---|
CheckFile ( string fileName ) : string |
Verifies the file name exists.
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
GetArgument ( string prefix, string args ) : string |
Gets an argument value with the given prefix. Arguments follow the convention [prefix]:[value]
|
|
IsSwitchDefined ( string strSwitch, string args ) : bool |
Checks if a given parameter switch was defined
|
|
OnCancelKeyPress ( object sender, |
||
ThrowIfEmpty ( string value, string parameter ) : void |
Throws an ArgumentException if the given parameter value is empty
|
protected CheckFile ( string fileName ) : string | ||
fileName | string | |
return | string |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
protected static GetArgument ( string prefix, string args ) : string | ||
prefix | string | |
args | string | |
return | string |
protected static IsSwitchDefined ( string strSwitch, string args ) : bool | ||
strSwitch | string | |
args | string | |
return | bool |
protected OnCancelKeyPress ( object sender, |
||
sender | object | |
e | ||
return | void |
public abstract ParseArguments ( string args ) : void | ||
args | string | The array of commandline arguments |
return | void |
public Run ( string args ) : void | ||
args | string | The array of commandline arguments |
return | void |
protected static ThrowIfEmpty ( string value, string parameter ) : void | ||
value | string | |
parameter | string | |
return | void |