Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: MEF Imported property is null

$
0
0
Hi and thanks
Meanwhile I realized that an imported property is still null (or rather it's type's default value) during the objects construction.
I changed to ImportConstructor, exactly as you mentioned and now it works :)

I think I can understand that it is difficult/impossible for MEF to set the property during construction, but prior to user code, at least with reflection.
However, if possible, it would be nice if this "limitation" could be removed...

Viewing all articles
Browse latest Browse all 1878

Trending Articles



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