March 4 Weekly Drop

 Recommended Download



Source Code Unity-08-03-04-Drop.zip
source code, 1004K, uploaded Mar 4 2008  - 529 downloads

Release Notes

Welcome to the March 4, 2008 Weekly drop of Unity

This is the latest weekly drop of the Unity Container source code.
Work has continued on the lifetime management features.

The much-reviled SetSingleton method is gone. The SetLifetime method is also gone.

The Register method has been renamed to RegisterType, and overloads have been added that take a lifetime manager instance.

The Get and GetAll methods have been renamed to Resolve and ResolveAll. Get is a keyword in VB.NET, and using it as a method name made the container inconvenient to use from VB.NET.

Where you previously did this:

container.Register<IFoo, Foo>()
.SetSingleton<Foo>();

you should now do:

container.Register<IFoo, Foo>(new ContainerControlledLifetimeManager());
 Reviews for this release
No reviews yet for this release.
Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987