Making Unity work more like the others(chrisvandesteeg.nl)

submitted by alleyalley(2840) 3 years, 1 month 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

1 comment |category: |Views: 188

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by ericswannericswann(145) 3 years, 1 month ago 0

Thanks for the article, I use Unity a lot and always good to learn new issues/workarounds/approaches.

Reply

information Login or create an account to comment on this story