StauffConsulting.Essentials.

StringListSwitch

C#: 
public class StringListSwitch :
    StauffConsulting.Essentials.Switch

VB: 
Public Class StringListSwitch
    Inherits StauffConsulting.Essentials.Switch

Type Ancestry:  Object
+---Switch
+---+---StringListSwitch


A switch that takes one or more string values.

Summary Info

Constructor Summary

StringListSwitch Constructor.

Field Summary

readonlyList Values The values that were passed to the switch on the command line.

Inherited from StauffConsulting.Essentials.Switch:
_help, AllSwitches, Found, Name, NameLC, Required, ValueHelp

Property Summary

Inherited from StauffConsulting.Essentials.Switch:
Help

Method Summary

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

Miscellany Summary

Constructor Details


StringListSwitch

C#: 
StringListSwitch (string name,
    bool required,
    string help)

VB: 
Sub New(ByVal name As String, ByVal required As Boolean, ByVal help As String)

Constructor.

Parameters

name   the name of the switch; if it doesn't start with a hyphen. one is prepended.
required   is this parameter required?
help   a description of the switch.

Field Details


Values

C#: 
readonly System.Collections.Generic.List Values;

VB: 
ReadOnly Values As System.Collections.Generic.List(Of String)

The values that were passed to the switch on the command line.

Method Details


Parse

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

(Inherited documentation)
Tries to parse the next thing from the argument list. This is for internal use only by CmdLineParser.

Parameters

p  
argList  


generated by DocGenDotNet on 18 Nov 2008 6:35:01 PM