2 types derived from CommandLineApplication
rzc (2)
Application.cs (1)
12
internal class Application :
CommandLineApplication
CommandBase.cs (1)
8
internal abstract class CommandBase :
CommandLineApplication
1 instantiation of CommandLineApplication
rzc (1)
CommandLine\CommandLineApplication.cs (1)
77
var command = new
CommandLineApplication
(throwOnUnexpectedArg) { Name = name, Parent = this };
19 references to CommandLineApplication
rzc (19)
CommandLine\CommandLineApplication.cs (17)
35
Commands = new List<
CommandLineApplication
>();
40
public
CommandLineApplication
Parent { get; set; }
56
public readonly List<
CommandLineApplication
> Commands;
64
var
rootNode = this;
74
public
CommandLineApplication
Command(string name, Action<
CommandLineApplication
> configuration,
77
var
command = new CommandLineApplication(throwOnUnexpectedArg) { Name = name, Parent = this };
138
CommandLineApplication
command = this;
324
var
currentCommand = command;
325
foreach (
var
subcommand in command.Commands)
425
for (
var
cmd = this; cmd != null; cmd = cmd.Parent)
436
for (
var
cmd = this; cmd != null; cmd = cmd.Parent)
441
CommandLineApplication
target;
508
foreach (
var
cmd in commands.OrderBy(c => c.Name))
543
for (
var
cmd = this; cmd != null; cmd = cmd.Parent)
559
var
rootCmd = this;
570
CommandLineApplication
command,
CommandLine\CommandParsingException.cs (2)
8
public CommandParsingException(
CommandLineApplication
command, string message)
14
public
CommandLineApplication
Command { get; }