March 4 Weekly Drop

Rating: No reviews yet
Downloads: 653
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 - 653 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.