Cysharp / ConsoleAppFramework

Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.
MIT License
1.54k stars 88 forks source link

Changed generic add methods so that they support parent class method inheritence #98

Closed riddlemd closed 1 year ago

riddlemd commented 1 year ago

Removed BindingFlags.DeclaredOnly from generic add methods so that they can populate inherited public methods.

Not sure why it was originally included as it makes stuff like creating bulk repository access classes annoying to code since each one has to basically re-implement all the commands instead of inheriting from a generic base class that exposes the commands.