2 types derived from CommandLineApplication
Wasm.Performance.ConsoleHost (2)
Program.cs (1)
9
internal sealed class Program :
CommandLineApplication
Scenarios\ComponentRenderingScenarioBase.cs (1)
13
internal abstract class ComponentRenderingScenarioBase :
CommandLineApplication
1 instantiation of CommandLineApplication
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
83
var command = new
CommandLineApplication
(throwOnUnexpectedArg) { Name = name, Parent = this };
19 references to CommandLineApplication
Wasm.Performance.ConsoleHost (19)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (17)
41
Commands = new List<
CommandLineApplication
>();
46
public
CommandLineApplication
Parent { get; set; }
62
public readonly List<
CommandLineApplication
> Commands;
70
var
rootNode = this;
80
public
CommandLineApplication
Command(string name, Action<
CommandLineApplication
> configuration,
83
var
command = new CommandLineApplication(throwOnUnexpectedArg) { Name = name, Parent = this };
144
CommandLineApplication
command = this;
330
var
currentCommand = command;
331
foreach (
var
subcommand in command.Commands)
431
for (
var
cmd = this; cmd != null; cmd = cmd.Parent)
442
for (
var
cmd = this; cmd != null; cmd = cmd.Parent)
447
CommandLineApplication
target;
514
foreach (
var
cmd in commands.OrderBy(c => c.Name))
549
for (
var
cmd = this; cmd != null; cmd = cmd.Parent)
565
var
rootCmd = this;
576
CommandLineApplication
command,
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (2)
10
public CommandParsingException(
CommandLineApplication
command, string message)
16
public
CommandLineApplication
Command { get; }