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