DependencyInjectionToolset Dependency injection is awesome. It helps you build code that is loosely-coupled, testable, maintainable. The code is clean and readable. And if set up properly, you might end up coding a lot less than without dependency injection. Almost :) Because if you use constructor injection (and why wouldn't you if you apply the basic OO principles), you might end up creating a lot of constructors with a lot of parameters. While this is not a bad thing - after all this gives you an instant overview about the dependencies of a component - you do have to code a lot. This tool helps you with that. Features currently include:
Version history
Credits Thanks for @trydis for publishing his version of the "Introduce and initalize field" feature. Check out his blog post here. Also thanks for @varsi94 for helping out with the original version of the code and for the v1.4 feature. Thanks for @holymoo for the v1.1 bugfixes. Thanks for @exglade for the v1.2 bugfixes and the VS2017 upgrade. Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY |