This project is read-only.

Simple Injector v1.3

Rating: No reviews yet
Downloads: 298
Change Set: 83761
Released: Dec 9, 2011
Updated: Dec 29, 2011 by dot_NET_Junkie
Dev status: Stable Help Icon

Recommended Download

Application SimpleInjector Runtime Library v1.3
application, 261K, uploaded Dec 9, 2011 - 121 downloads

Other Available Downloads

Application SimpleInjector Silverlight Runtime Library v1.3
application, 259K, uploaded Dec 9, 2011 - 41 downloads
Source Code SimpleInjector Source Code v1.3
source code, 663K, uploaded Dec 9, 2011 - 83 downloads
Documentation SimpleInjector.chm
documentation, 215K, uploaded Dec 9, 2011 - 53 downloads

Release Notes

NOTE: Simple Injector v1.3 NOT the latest release. Please click on the Downloads tab above to find the latest Simple Injector release.

This release adds a few features and fixes two bugs in the core library. The most important new feature is the addition of a ExpresionBuilt event, which allows users to alter the way types are created by the container. This enables scenarios as Interception, context based injection, and wrapping types with Decorators.

New features and improvements in this release for the SimpleInjector.dll
  • Container.ExpresionBuilt event added to enable interception scenarios.
  • New constructor overload added to the Container allowing to change the behavior of the container using the new ContainerOptions class. The only option currently supported is AllowOverridingRegistrations.
  • All exception messages now display the names of generic types in short C# notation. For instance, messages will now show a name such as IEnumerable<IComparable<Int32>> instead of the unreadable System.Collections.Generic.IEnumerable`1{System.IComparable`1{System.Int32}}.
  • A new overload to the Container.GetRegistration() method has been added. This overload allows users to signal whether the method should throw or return null (what the original overload does). Since the GetRegistration is the only method in the system that both builds and returns IInstanceProducers, it is very convenient when it can throw, because this makes some scenario's using the ExpressionBuilt event much cleaner, with less code.
  • InstanceProducers are now allowed to return types that can not be casted to the given service type. This allows them to be retrieved using the non-generic Container.GetInstance(Type) and is useful for interception scenarios.

Bug fixes in this release for the SimpleInjector.dll
  • InjectProperties and GetRegistration failed in certain circumstances. (work item 16930).
  • Calling the Verify method still resulted in a lockdown of the container, when the registered delegates called back into the container. This made it impossible to verify a partially configured container.

Reviews for this release

No reviews yet for this release.