Quantcast
Channel: Managed Extensibility Framework
Viewing all articles
Browse latest Browse all 265

New Post: Import visibility with MEFX

$
0
0

Hi Oliver,

In MEF's discovery model, only types that have exports are considered "parts". This is because although MEF could find imports on types like the one above, there's no way for a composition container to create instances of them, so instead it ignores them until a method like SatisfyImports() called.

MEFX is only a thin layer over MEF's regular discovery/catalog system, so it maintains the same behaviour. What you're seeing here is expected.

What situation are you aiming to detect, using MEFX in this scenario?

Hope this helps,
Nick 


Viewing all articles
Browse latest Browse all 265

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>