Microsoft | patterns & practices | Developer Network | Enterprise Library | Acceptance Testing Guide | Personal Site
Our latest work on Unity 2.0 is available on Codeplex (see change set 28516). This is the first work we’ve done on Unity as part of the EntLib5.0 effort.
Major changes in this drop include:
Congratulations guys! Nice to be watching Unity 2 take shape.
Have you fixed the bug that ResolveAll() does not return open generics?
I use quick fix in my project:
public override IEnumerable<object> ResolveAll(Type t)
List<string> names = new List<string>(registeredNames.GetKeys(t));
Type tdef = t.GetGenericTypeDefinition();
foreach (string name in names)
yield return Resolve(t, name);