Method | Description | |
---|---|---|
GetTimerOptions ( ) : |
Returns the TimerOptions specified in the parsed command-line arguments.
|
|
GetWindowSize ( ) : WindowSize |
Returns the WindowSize specified in the parsed command-line arguments.
|
|
Parse ( IList |
Parses command-line arguments.
|
|
ShowUsage ( string errorMessage = null ) : void |
Shows the command-line usage of this application in a window.
|
Method | Description | |
---|---|---|
GetArgumentsFromFactoryDefaults ( ) : |
Returns an CommandLineArguments instance based on the factory default settings.
|
|
GetArgumentsFromMostRecentOptions ( ) : |
Returns an CommandLineArguments instance based on the most recent options.
|
|
GetBoolValue ( string arg, Queue |
Returns the next bool value in remainingArgs, or throws an exception if remainingArgs is empty or the next argument is not "on" or "off".
|
|
GetBoolValue ( string arg, Queue |
Returns the next bool value in remainingArgs, or throws an exception if remainingArgs is empty or the next argument is not "on", "off", or "last".
|
|
GetCommandLineArguments ( IEnumerable |
Parses command-line arguments.
|
|
GetMostRecentWindowSize ( ) : WindowSize |
Returns the most recent WindowSize.
|
|
GetRectValue ( string arg, Queue |
Returns the next Rect value in remainingArgs, or throws an exception if remainingArgs is empty or the next argument is not a valid representation of a
|
|
GetRequiredValue ( string arg, Queue |
Returns the next value in remainingArgs, or throws an exception if
|
|
GetSoundValue ( string arg, Queue |
Returns the next Sound value in remainingArgs, or throws an exception if remainingArgs is empty or the next argument is not "none", "last", or a valid representation of a Sound.
|
|
GetThemeValue ( string arg, Queue |
Returns the next Theme value in remainingArgs, or throws an exception if remainingArgs is empty or the next argument is not "last" or a valid representation of a Theme.
|
|
GetTimerStartValue ( IEnumerable |
Returns the TimerStart value corresponding to the concatenation of all
|
|
GetValue ( Queue |
Returns the next value in remainingArgs.
|
|
GetWindowStateValue ( string arg, Queue |
Returns the next WindowState value in remainingArgs, or throws an exception if remainingArgs is empty or the next argument is not "normal", "maximized", "minimized", or "last".
|
|
GetWindowTitleModeValue ( string arg, Queue |
Returns the next WindowTitleMode value in remainingArgs, or throws an exception if remainingArgs is empty or the next argument is not "app", "left", "elapsed", "title", or "last".
|
|
IsSwitch ( string arg ) : bool |
Returns a value indicating whether a string is a command-line switch.
|
|
ThrowIfDuplicateSwitch ( HashSet |
Throws an exception if canonicalSwitch is already in specifiedSwitches, or otherwise adds canonicalSwitch to specifiedSwitches.
|
|
UnescapeValue ( string value ) : string |
Unescapes a command-line value. A value is any command-line argument not beginning with '-'. If the user must specify a command-line value that begins with '-', the user must escape the '-' with '''. |
public GetTimerOptions ( ) : |
||
return |
public static Parse ( IList |
||
args | IList |
The command-line arguments. |
return |
public static ShowUsage ( string errorMessage = null ) : void | ||
errorMessage | string | An error message to display. (Optional.) |
return | void |