I have been practicing MEF for some time. But I always wondered about following questions.
1. The [InheritedExport] attribute, my questions is upto what level of inheritance is supported or is it configurable too? Can the child of the derived class be instantiated by exporting the great-parent class?
2. The [ImportingConstructor], for the parameterized constructor - we can import the argument too. Is there any way else to call the parameterized constructor and pass the non default value to its argument?
3. Also, I have one question, like suppose my export expression is one such case.
Hide Copy Code
class A : ParentClass
Whose instance( Parent/A) will be created?
What I have tried:
I have read over internet and books but could not find answers to this specific question.