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...
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...