Static Analysis

Dec 24, 2011 at 8:53 PM

Hi,

After reading the blog post about sharing instances with MEF new scope features and also remember the mefx tool which does static analysis I would like to know if it is possible to create a graphical tool which allow to see the graph of objects (instances) that will be formed for a given MEF composition configuration.

I know graphical tools are much harder to create, but even not so fancy graph like the one in the post can help see if the configuration will yield the result we wand and need.

My question is Does MEF object model has enough information in the part definitions to create such graph or do I have to actually exercise the CompositionContainer to get such information?

 

Thank you,

Ido.