1 write to Name
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
83var command = new CommandLineApplication(throwOnUnexpectedArg) { Name = name, Parent = this };
8 references to Name
ClientSample (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (8)
333if (string.Equals(subcommand.Name, arg, StringComparison.OrdinalIgnoreCase)) 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 449if (commandName == null || string.Equals(Name, commandName, StringComparison.OrdinalIgnoreCase)) 455target = Commands.SingleOrDefault(cmd => string.Equals(cmd.Name, commandName, StringComparison.OrdinalIgnoreCase)); 512var maxCmdLen = commands.Max(c => c.Name.Length); 514foreach (var cmd in commands.OrderBy(c => c.Name)) 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description); 523commandsBuilder.Append(FormattableString.Invariant($"Use \"{target.Name} [command] --{OptionHelp.LongName}\" for more information about a command."));