15 instantiations of CommandSwitch
ComSvcConfig (15)
Options.cs (15)
181
new
CommandSwitch
(Cmd.Application, Abbr.Application, SwitchType.SingletonValue),
182
new
CommandSwitch
(Cmd.Help, Abbr.Help, SwitchType.Flag),
183
new
CommandSwitch
(Cmd.Hosting, Abbr.Hosting, SwitchType.SingletonValue),
184
new
CommandSwitch
(Cmd.Contract, Abbr.Contract, SwitchType.SingletonValue),
185
new
CommandSwitch
(Cmd.Mode, Abbr.Mode, SwitchType.SingletonValue),
186
new
CommandSwitch
(Cmd.NoLogo, Abbr.NoLogo, SwitchType.Flag),
187
new
CommandSwitch
(Cmd.Verbose, Abbr.Verbose, SwitchType.Flag),
188
new
CommandSwitch
(Cmd.WebDirectory, Abbr.WebDirectory, SwitchType.SingletonValue),
189
new
CommandSwitch
(Cmd.WebServer, Abbr.WebServer, SwitchType.SingletonValue),
190
new
CommandSwitch
(Cmd.ID, Abbr.ID, SwitchType.Flag),
191
new
CommandSwitch
(Cmd.MetaData, Abbr.MetaData, SwitchType.Flag),
192
new
CommandSwitch
(Cmd.Install, Abbr.Install, SwitchType.Flag),
193
new
CommandSwitch
(Cmd.Uninstall, Abbr.Uninstall, SwitchType.Flag),
194
new
CommandSwitch
(Cmd.List, Abbr.List, SwitchType.Flag),
195
new
CommandSwitch
(Cmd.AllowReferences, Abbr.AllowReferences, SwitchType.Flag)
8 references to CommandSwitch
ComSvcConfig (8)
Options.cs (2)
180
static
CommandSwitch
[] switches = new
CommandSwitch
[] {
parent\svcutil\CommandLineParser.cs (6)
75
internal static
CommandSwitch
FindSwitch(string name,
CommandSwitch
[] switches)
77
foreach (
CommandSwitch
cs in switches)
154
internal static ArgumentDictionary ParseCommand(string[] cmd,
CommandSwitch
[] switches)
159
CommandSwitch
argSwitch; //switch corresponding to that argument
202
argSwitch =
CommandSwitch
.FindSwitch(arg.ToLower(CultureInfo.InvariantCulture), switches);