I'm using the MS Unity container to do dependency injection, but a "Resolve" is returning unexpected results.
Is there an way I can debug this resolution? It would be great if I could view what Types/Instances are registered in开发者_开发百科 the container, but I can't see where this is stored when using QuickWatch. It would also be useful if I could get the container to output some debug Traces.
Any suggestions?
The source code for the Unity framework is available for download at http://unity.codeplex.com. If you include it in your solution and reference the Unity projects instead of the compiled DLLs in your projects, you will be able to debug through the Unity source code.
精彩评论