98 references to Cmd
ComSvcConfig (98)
Options.cs (38)
119throw Tool.CreateArgumentException(Cmd.Contract, this.component.ToString() + "," + itf.ToString(), SR.GetString(SR.AllInterfacesAlreadySelected, this.component.ToString()), null);
133throw Tool.CreateArgumentException(Cmd.Contract, this.component.ToString() + ",*", SR.GetString(SR.CannotSpecifyAllInterfaces), null);
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)
207if (arguments.ContainsArgument(Cmd.Application))
209this.application = arguments.GetArgument(Cmd.Application);
213this.help = arguments.ContainsArgument(Cmd.Help);
218if (arguments.ContainsArgument(Cmd.Hosting))
220string argValue = arguments.GetArgument(Cmd.Hosting);
238this.mex = arguments.ContainsArgument(Cmd.MetaData);
243if (arguments.ContainsArgument(Cmd.Contract))
245IList<string> argValues = arguments.GetArguments(Cmd.Contract);
252this.noLogo = arguments.ContainsArgument(Cmd.NoLogo);
257this.verbose = arguments.ContainsArgument(Cmd.Verbose);
260if (arguments.ContainsArgument(Cmd.WebDirectory))
262this.webDirectory = arguments.GetArgument(Cmd.WebDirectory);
266if (arguments.ContainsArgument(Cmd.WebServer))
268this.webServer = arguments.GetArgument(Cmd.WebServer);
271this.showGuids = arguments.ContainsArgument(Cmd.ID);
273this.allowReferences = arguments.ContainsArgument(Cmd.AllowReferences);
285if (arguments.ContainsArgument(Cmd.Install))
290if (arguments.ContainsArgument(Cmd.Uninstall))
298if (arguments.ContainsArgument(Cmd.List))
348throw Tool.CreateArgumentException(Cmd.Contract, argVal, SR.GetString(SR.MalformedInterfaceString), null);
360throw Tool.CreateArgumentException(Cmd.Contract, argVal, SR.GetString(SR.CannotSpecifyInterfaceForAllComponents), null);
Tool.cs (60)
67ToolConsole.WriteLine(SR.GetString(SR.HelpUsage4, Cmd.Install, Abbr.Install));
76ToolConsole.WriteLine(SR.GetString(SR.HelpUsage5, Cmd.Uninstall, Abbr.Uninstall));
86ToolConsole.WriteLine(SR.GetString(SR.HelpUsage6, Cmd.List, Abbr.List));
107ToolConsole.WriteLine(SR.GetString(SR.HelpUsage4, Cmd.Install, Abbr.Install));
108ToolConsole.WriteLine(SR.GetString(SR.HelpUsage5, Cmd.Uninstall, Abbr.Uninstall));
109ToolConsole.WriteLine(SR.GetString(SR.HelpUsage6, Cmd.List, Abbr.List));
111ToolConsole.WriteLine(SR.GetString(SR.HelpUsageApplication, Cmd.Application, Abbr.Application));
112ToolConsole.WriteLine(SR.GetString(SR.HelpUsageInterface, Cmd.Contract, Abbr.Contract, "{", "}"));
113ToolConsole.WriteLine(SR.GetString(SR.HelpUsageReferences, Cmd.AllowReferences, Abbr.AllowReferences));
114ToolConsole.WriteLine(SR.GetString(SR.HelpUsageHosting, Cmd.Hosting, Abbr.Hosting));
115ToolConsole.WriteLine(SR.GetString(SR.HelpUsageWebServer, Cmd.WebServer, Abbr.WebServer));
116ToolConsole.WriteLine(SR.GetString(SR.HelpUsageWebDirectory, Cmd.WebDirectory, Abbr.WebDirectory));
117ToolConsole.WriteLine(SR.GetString(SR.HelpUsageMexOption, Cmd.MetaData, Abbr.MetaData));
118ToolConsole.WriteLine(SR.GetString(SR.HelpUsageGuidOption, Cmd.ID, Abbr.ID));
119ToolConsole.WriteLine(SR.GetString(SR.HelpUsageNoLogo, Cmd.NoLogo, Abbr.NoLogo));
120ToolConsole.WriteLine(SR.GetString(SR.HelpUsageVerbose, Cmd.Verbose, Abbr.Verbose));
139throw CreateArgumentException(Cmd.Application, options.Application, SR.GetString(SR.ApplicationNotFound, options.Application), null);
153throw CreateArgumentException(Cmd.Application, options.Application, SR.GetString(SR.ApplicationNotFound, options.Application), null);
171throw CreateArgumentException(Cmd.WebDirectory, options.WebDirectory, SR.GetString(SR.WebDirectoryNotFound, options.WebDirectory), null);
277throw CreateArgumentException(Cmd.Application, options.Application, SR.GetString(SR.ApplicationNotFound, options.Application), null);
310throw CreateArgumentException(Cmd.WebDirectory, options.WebDirectory, SR.GetString(SR.WebDirectoryNotFound, options.WebDirectory), null);
417throw CreateArgumentException(Cmd.Application, options.Application, SR.GetString(SR.ApplicationNotFound, options.Application), null);
549throw CreateArgumentException(Cmd.Application, options.Application, SR.GetString(SR.ApplicationNotFound, options.Application), null);
974throw CreateArgumentException(Cmd.Mode, "", SR.GetString(SR.ArgumentRequired, Cmd.Mode), null);
1003throw CreateArgumentException(Cmd.Application, null, SR.GetString(SR.ArgumentRequired, Cmd.Application), null);
1008throw CreateArgumentException(Cmd.Contract, null, SR.GetString(SR.ArgumentRequired, Cmd.Contract), null);
1015throw CreateArgumentException(Cmd.Hosting, null, SR.GetString(SR.ArgumentRequired, Cmd.Hosting), null);
1021throw CreateArgumentException(Cmd.WebDirectory, options.WebDirectory, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebDirectory), null);
1025throw CreateArgumentException(Cmd.WebServer, options.WebServer, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebServer), null);
1033throw CreateArgumentException(Cmd.WebDirectory, null, SR.GetString(SR.ArgumentRequired, Cmd.WebDirectory), null);
1044throw CreateArgumentException(Cmd.Application, null, SR.GetString(SR.ArgumentRequired, Cmd.Application), null);
1049throw CreateArgumentException(Cmd.Contract, null, SR.GetString(SR.ArgumentRequired, Cmd.Contract), null);
1058throw CreateArgumentException(Cmd.WebDirectory, options.WebDirectory, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebDirectory), null);
1067throw CreateArgumentException(Cmd.WebDirectory, options.WebDirectory, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebDirectory), null);
1071throw CreateArgumentException(Cmd.WebServer, options.WebServer, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebServer), null);
1087throw CreateArgumentException(Cmd.Contract, null, SR.GetString(SR.ExclusiveOptionsSpecified, Cmd.Contract, Cmd.Mode + ":query"), null);
1096throw CreateArgumentException(Cmd.WebDirectory, options.WebDirectory, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebDirectory), null);
1105throw CreateArgumentException(Cmd.WebDirectory, options.WebDirectory, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebDirectory), null);
1109throw CreateArgumentException(Cmd.WebServer, options.WebServer, SR.GetString(SR.InvalidArgumentForHostingMode, Cmd.WebServer), null);
1124throw CreateArgumentException(Cmd.Application, appInfo.Name, SR.GetString(SR.SystemApplicationsNotSupported), null);
1131throw CreateArgumentException(Cmd.Application, appInfo.Name, SR.GetString(SR.LibraryApplicationsNotSupported), null);
1136throw CreateArgumentException(Cmd.Application, appInfo.Name, SR.GetString(SR.ProcessRecyclingNotSupported), null);
1141throw CreateArgumentException(Cmd.Application, appInfo.Name, SR.GetString(SR.ProcessPoolingNotSupported), null);