20 references to SwitchType
ComSvcConfig (20)
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)
parent\svcutil\CommandLineParser.cs (5)
22
readonly
SwitchType
switchType;
24
internal CommandSwitch(string name, string abbreviation,
SwitchType
switchType)
52
internal
SwitchType
SwitchType
208
if (argSwitch.SwitchType ==
SwitchType
.Flag)
221
if (argSwitch.SwitchType !=
SwitchType
.ValueList && arguments.ContainsArgument(argSwitch.Name))