How do I debug a Unity Container "Resolve"?
Posted
by willem
on Stack Overflow
See other posts from Stack Overflow
or by willem
Published on 2009-10-30T09:27:26Z
Indexed on
2010/05/18
5:41 UTC
Read the original article
Hit count: 168
unity
|inversion-of-control
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?
© Stack Overflow or respective owner