The Simple Service Locator is an easy-to-use Inversion of Control library that is a complete implementation of the Common Service Locator interface. It solely supports code-based configuration and is an ideal starting point for developers unfamiliar with larger IoC / DI librariesNew features in this release
- Collections that are registered using RegisterAll<T> can now be injected using automatic constructor injection. Calling RegisterAll<T> has the same effect as calling RegisterSingle<IEnumerable<T>>. This means that the collection can be injected when the constructor of the type to inject contains an argument of type IEnumerable<T>.
- A new RegisterAll<T>(params T) method overload is added that allows easy registration of collections.
This is the eighth beta release. Beta means that we think you can use the library in your production environment, but future versions may have breaking changes. The Simple Service Locator project is still in development and we like your feedback.