StauffConsulting.Essentials.| C#: |
public class StringSwitch :
StauffConsulting.Essentials.Switch
|
| VB: |
Public Class StringSwitch
Inherits StauffConsulting.Essentials.Switch
|
| Type Ancestry: | Object |
StringSwitch |
Constructor. |
| string |
Value |
The value that was passed to the switch on the command line. |
Inherited from StauffConsulting.Essentials.Switch:
_help,
AllSwitches,
Found,
Name,
NameLC,
Required,
ValueHelp
Inherited from StauffConsulting.Essentials.Switch:
Help
Parse |
Tries to parse the next thing from the argument list. This is for internal use only by CmdLineParser. |
Inherited from StauffConsulting.Essentials.Switch:
Parse,
WriteHelp
| C#: |
StringSwitch (string name,
string defaultValue,
bool required,
string help)
|
| VB: |
Sub New(ByVal name As String, ByVal defaultValue As String, ByVal required As Boolean, ByVal help As String)
|
Parameters
name | the name of the switch; if it doesn't start with a hyphen. one is prepended. |
defaultValue | the default value |
required | is this parameter required? |
help | a description of the switch. |
| C#: |
string Value;
|
| VB: |
Value As String
|
| C#: |
Void Parse(StauffConsulting.Essentials.CmdLineParser p,
System.Collections.ArrayList argList)
|
| VB: |
Function Parse(ByVal p As StauffConsulting.Essentials.CmdLineParser, ByVal argList As System.Collections.ArrayList) As Void
|
Parameters
p | |
argList |