March 4 Weekly Drop

Rating: No reviews yet
Downloads: 650
Released: Mar 4, 2008
Updated: Mar 4, 2008 by ctavares
Dev status: -not yet defined by owner-

Recommended Download

Source Code
source code, 1004K, uploaded Mar 4, 2008 - 650 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>()

you should now do:

container.Register<IFoo, Foo>(new ContainerControlledLifetimeManager());

Reviews for this release

No reviews yet for this release.