3 writes to Name
rzc (3)
Application.cs (1)
29
Name
= "rzc";
CommandBase.cs (1)
23
Name
= name;
CommandLine\CommandLineApplication.cs (1)
77
var command = new CommandLineApplication(throwOnUnexpectedArg) {
Name
= name, Parent = this };
8 references to Name
rzc (8)
CommandLine\CommandLineApplication.cs (8)
327
if (string.Equals(subcommand.
Name
, arg, StringComparison.OrdinalIgnoreCase))
438
headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.
Name
));
443
if (commandName == null || string.Equals(
Name
, commandName, StringComparison.OrdinalIgnoreCase))
449
target = Commands.SingleOrDefault(cmd => string.Equals(cmd.
Name
, commandName, StringComparison.OrdinalIgnoreCase));
506
var maxCmdLen = commands.Max(c => c.
Name
.Length);
508
foreach (var cmd in commands.OrderBy(c => c.
Name
))
510
commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.
Name
, cmd.Description);
517
commandsBuilder.Append($"Use \"{target.
Name
} [command] --{OptionHelp.LongName}\" for more information about a command.");