Making Unity work more like the others(chrisvandesteeg.nl)
submitted by
alley(2840) 2 years, 9 months ago
I love MS Unity as an IoC container, it has some great features. Though I found it to function incorrectly at two points (it’s not that the path chosen by the Unity team is incorrect, I just want/excpect it to act differently).
The first thing that bothered me was the fact that Unity throws an exception when Resolve<T> is not able to resolve the given type: I’d prefer it to return null instead, hence most containers do that. The second, even more irritating point, was that ResolveAll<T> only returned the named instances/types instead of all registered types read more...
|category: C#
|Views: 188
tags:
Unity IoC/DI C# IoC another
Everyones tags:
Your Tags: