How can I find all registered mappings for a container?

Aug 20, 2009 at 9:36 PM

I'm trying to write a diagnostic feature for my apps. One thing that I would like to do is display all the registered mappings for a container. I originally thought I'd write an extension that would return all policies implementing IBuildKeyMappingPolicy, but I couldn't find a way of enumerating all the policies in the policy list. I'd prefer not to hook up to the register events on the container, because I can't guarantee that my extension will be added before any types are registered. Can someone point me in the right direction?

Aug 25, 2009 at 2:19 AM
Edited Aug 25, 2009 at 2:20 AM

[wrong thread post]