20 references to SwitchType
ComSvcConfig (20)
Options.cs (15)
181new CommandSwitch(Cmd.Application, Abbr.Application, SwitchType.SingletonValue), 182new CommandSwitch(Cmd.Help, Abbr.Help, SwitchType.Flag), 183new CommandSwitch(Cmd.Hosting, Abbr.Hosting, SwitchType.SingletonValue), 184new CommandSwitch(Cmd.Contract, Abbr.Contract, SwitchType.SingletonValue), 185new CommandSwitch(Cmd.Mode, Abbr.Mode, SwitchType.SingletonValue), 186new CommandSwitch(Cmd.NoLogo, Abbr.NoLogo, SwitchType.Flag), 187new CommandSwitch(Cmd.Verbose, Abbr.Verbose, SwitchType.Flag), 188new CommandSwitch(Cmd.WebDirectory, Abbr.WebDirectory, SwitchType.SingletonValue), 189new CommandSwitch(Cmd.WebServer, Abbr.WebServer, SwitchType.SingletonValue), 190new CommandSwitch(Cmd.ID, Abbr.ID, SwitchType.Flag), 191new CommandSwitch(Cmd.MetaData, Abbr.MetaData, SwitchType.Flag), 192new CommandSwitch(Cmd.Install, Abbr.Install, SwitchType.Flag), 193new CommandSwitch(Cmd.Uninstall, Abbr.Uninstall, SwitchType.Flag), 194new CommandSwitch(Cmd.List, Abbr.List, SwitchType.Flag), 195new CommandSwitch(Cmd.AllowReferences, Abbr.AllowReferences, SwitchType.Flag)
parent\svcutil\CommandLineParser.cs (5)
22readonly SwitchType switchType; 24internal CommandSwitch(string name, string abbreviation, SwitchType switchType) 52internal SwitchType SwitchType 208if (argSwitch.SwitchType == SwitchType.Flag) 221if (argSwitch.SwitchType != SwitchType.ValueList && arguments.ContainsArgument(argSwitch.Name))