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 librariesBreaking changes in this release
New features in this release
- All Register and RegisterSingle method overloads now only accept reference types (classes and interfaces) as registered services.
- A new Register<TConcrete>(Action<TConcrete>) method is added that allows registration of concrete instances that will be initialized by calling the supplied Action<T> after creation.
- A new RegisterSingle<TConcrete>(Action<TConcrete>) method is added to allow registration of concrete singletons that will be initialized by calling the supplied Action<T> after creation.
This is the sixth 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.