System.CommandLine.CommandLineConfiguration.GetChild C# (CSharp) Méthode

GetChild() static private méthode

static private GetChild ( int index, System.CommandLine.Command command ) : System.CommandLine.IdentifierSymbol
index int
command System.CommandLine.Command
Résultat System.CommandLine.IdentifierSymbol
            static IdentifierSymbol GetChild(int index, Command command)
                => index < command.Subcommands.Count
                    ? command.Subcommands[index]
                    : command.Options[index - command.Subcommands.Count];
        }