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