11 instantiations of CommandSwitch
dotnet-svcutil.xmlserializer (11)
Microsoft\Tools\ServiceModel\SvcUtil\OptionsStatics.cs (11)
53
public static readonly CommandSwitch Directory = new
CommandSwitch
(Options.Cmd.Directory, Abbr.Directory, SwitchType.SingletonValue);
54
public static readonly CommandSwitch Help = new
CommandSwitch
(Options.Cmd.Help, Abbr.Help, SwitchType.Flag);
55
public static readonly CommandSwitch NoLogo = new
CommandSwitch
(Options.Cmd.NoLogo, Options.Cmd.NoLogo, SwitchType.Flag);
56
public static readonly CommandSwitch Out = new
CommandSwitch
(Options.Cmd.Out, Abbr.Out, SwitchType.SingletonValue);
57
public static readonly CommandSwitch Reference = new
CommandSwitch
(Options.Cmd.Reference, Abbr.Reference, SwitchType.ValueList);
58
public static readonly CommandSwitch SMReference = new
CommandSwitch
(Options.Cmd.SMReference, Abbr.SMReference, SwitchType.ValueList);
59
public static readonly CommandSwitch Nostdlib = new
CommandSwitch
(Options.Cmd.Nostdlib, Options.Cmd.Nostdlib, SwitchType.Flag);
60
public static readonly CommandSwitch ExcludeType = new
CommandSwitch
(Options.Cmd.ExcludeType, Abbr.ExcludeType, SwitchType.ValueList);
61
public static readonly CommandSwitch Namespace = new
CommandSwitch
(Options.Cmd.Namespace, Abbr.Namespace, SwitchType.ValueList);
62
public static readonly CommandSwitch Quiet = new
CommandSwitch
(Options.Cmd.Quiet, Abbr.Quiet, SwitchType.Flag);
64
public static readonly CommandSwitch Debug = new
CommandSwitch
(Options.Cmd.Debug, Options.Cmd.Debug, SwitchType.Flag);
19 references to CommandSwitch
dotnet-svcutil.xmlserializer (19)
Microsoft\Tools\ServiceModel\SvcUtil\CommandLineParser.cs (6)
76
internal static
CommandSwitch
FindSwitch(string name,
CommandSwitch
[] switches)
78
foreach (
CommandSwitch
cs in switches)
152
internal static ArgumentDictionary ParseCommand(string[] cmd,
CommandSwitch
[] switches)
157
CommandSwitch
argSwitch; //switch corresponding to that argument
203
argSwitch =
CommandSwitch
.FindSwitch(arg.ToLower(CultureInfo.InvariantCulture), switches);
Microsoft\Tools\ServiceModel\SvcUtil\OptionsStatics.cs (13)
53
public static readonly
CommandSwitch
Directory = new CommandSwitch(Options.Cmd.Directory, Abbr.Directory, SwitchType.SingletonValue);
54
public static readonly
CommandSwitch
Help = new CommandSwitch(Options.Cmd.Help, Abbr.Help, SwitchType.Flag);
55
public static readonly
CommandSwitch
NoLogo = new CommandSwitch(Options.Cmd.NoLogo, Options.Cmd.NoLogo, SwitchType.Flag);
56
public static readonly
CommandSwitch
Out = new CommandSwitch(Options.Cmd.Out, Abbr.Out, SwitchType.SingletonValue);
57
public static readonly
CommandSwitch
Reference = new CommandSwitch(Options.Cmd.Reference, Abbr.Reference, SwitchType.ValueList);
58
public static readonly
CommandSwitch
SMReference = new CommandSwitch(Options.Cmd.SMReference, Abbr.SMReference, SwitchType.ValueList);
59
public static readonly
CommandSwitch
Nostdlib = new CommandSwitch(Options.Cmd.Nostdlib, Options.Cmd.Nostdlib, SwitchType.Flag);
60
public static readonly
CommandSwitch
ExcludeType = new CommandSwitch(Options.Cmd.ExcludeType, Abbr.ExcludeType, SwitchType.ValueList);
61
public static readonly
CommandSwitch
Namespace = new CommandSwitch(Options.Cmd.Namespace, Abbr.Namespace, SwitchType.ValueList);
62
public static readonly
CommandSwitch
Quiet = new CommandSwitch(Options.Cmd.Quiet, Abbr.Quiet, SwitchType.Flag);
64
public static readonly
CommandSwitch
Debug = new CommandSwitch(Options.Cmd.Debug, Options.Cmd.Debug, SwitchType.Flag);
66
public static readonly
CommandSwitch
[] All = new
CommandSwitch
[] { Directory, Help, NoLogo, Out,