| Name | Details |
|---|---|
| InvokeDependencyListener |
This repository provides a straightforward, lightweight, minimalistic implementation of Dependency Injection (DI) that was created to address the need for avoiding redundant class instance initialization and to promote a cleaner, more maintainable codebase. In many cases, initializing new instances manually can clutter code and lead to errors, especially in larger projects. This simple DI solution is designed to help manage class dependencies in a lightweight manner.
The implementation was born out of necessity, as previous experiences showed that using or installing Microsoft.Extensions.DependencyInjection was not always feasible or suitable for certain projects. Given those constraints, this repository offers an alternative DI solution that doesn't require external dependencies, making it perfect for smaller projects or situations where a more complex DI framework would be overkill or overthinked.
This is not a full-fledged DI framework, but rather a basic implementation designed to address the most common scenarios where DI can enhance the clarity and maintainability of your code. The goal is to provide just enough DI functionality to improve code organization without the overhead of a larger library.
This may be a good solution for small projects or anyone looking to learn or experiment with DI concepts without diving into complex frameworks.
To understand more efficiently how you can use available functionalities please consult the using documentation/file.
In case you wish to use it in your project, u can install the package from nuget.org or specify what version you want:
Install-Package InvokeDependencyListener -Version x.x.x.x