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