2 writes to Parent
dotnet-openapi (2)
Commands\BaseCommand.cs (1)
36Parent = parent;
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
83var command = new CommandLineApplication(throwOnUnexpectedArg) { Name = name, Parent = this };
13 references to Parent
dotnet-openapi (13)
Commands\AddCommand.cs (1)
21internal new Application Parent => (Application)base.Parent;
Commands\BaseCommand.cs (5)
44if (Parent is Application application) 50WorkingDirectory = ((Application)Parent.Parent).WorkingDirectory; 86var parent = Parent; 89parent = parent.Parent;
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (7)
71while (rootNode.Parent != null) 73rootNode = rootNode.Parent; 431for (var cmd = this; cmd != null; cmd = cmd.Parent) 442for (var cmd = this; cmd != null; cmd = cmd.Parent) 549for (var cmd = this; cmd != null; cmd = cmd.Parent) 566while (rootCmd.Parent != null) 568rootCmd = rootCmd.Parent;