StauffConsulting.Essentials.| C#: |
public class EnumListSwitch :
StauffConsulting.Essentials.EnumSwitchBase
|
| VB: |
Public Class EnumListSwitch
Inherits StauffConsulting.Essentials.EnumSwitchBase
|
| Type Ancestry: | Object |
EnumListSwitch |
Constructor. |
readonly | ArrayList |
Values |
The values that were passed to the switch on the command line. |
Inherited from StauffConsulting.Essentials.EnumSwitchBase:
EnumType
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.EnumSwitchBase:
GetEnumValue
Inherited from StauffConsulting.Essentials.Switch:
Parse,
WriteHelp
| C#: |
EnumListSwitch (string name,
System.Type enumType,
bool required,
string help)
|
| VB: |
Sub New(ByVal name As String, ByVal enumType As System.Type, 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. |
enumType | the enum that defines the valid values for the switch |
required | is this parameter required? |
help | a description of the switch. |
| C#: |
readonly System.Collections.ArrayList Values;
|
| VB: |
ReadOnly Values As System.Collections.ArrayList
|
| 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 |