For consideration: command overloads
See original GitHub issueA feature requested semi-frequently is command overloads. This would allow having a single command that can take different combinations of arguments. With this, the following would be required:
- Instead of holding all properties directly, the
Command
entity would likely need to hold overload entities. - Default help and related interfaces would need to be reworked to accommodate these changes.
- A priority attribute for overloads, which would define the order in which they’d be matched an executed.
Several CNext APIs could also use a facelift.
Edit: minor added note, support for Nullable<T>
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Overloading Procedures - Maple Help
The overload command allows you to split the implementation of a command that operates on different argument types into separate procedures.
Read more >Function Overloading
C++ lets you specify more than one function of the same name in the same scope. These functions are called overloaded functions, or...
Read more >Method Overloading in Java
In Java, Method Overloading allows different methods to have the same name, ... For example, consider the following Java program.
Read more >Identifying a severely overloaded storage | vSphere High ...
When storage is severely overloaded, commands are aborted because the storage subsystem takes far too long to respond to the commands.
Read more >Is main() overloaded in C++?
No. Both versions cannot co-exist at the same time. One program can have exactly one main function. Which one, depends on your choice....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Implemented as of 5afb0800374df1da65fc6ae43f0aae291f68a12a.
Ah okay - yeah that’s handy for my specific use case 😃 thanks - although I’d still like to see it available if possible