This project has moved and is read-only. For the latest updates, please go here.

MEF editor

Apr 29, 2011 at 11:51 AM

Hello, I'm creating some kind of visual editor for MEF bindings (it's my school software project). This editor will be plugin into VS2010. 

For editor purposes I need to discover Imports and Exports in not compiled source code. The best thing I have founded for this is the DTE2 class. 

And now I need for these founded Imports (and Exports) create ImportDefinition object with MemberInfo like ReflectionMemberImportDefinition(it's not public), which I got i.e. from ReflectionComposablePart.ImportDefinitions

Is there any way, how to cope with this?


Thank you for all replies.