I want to apologize for the late response to your question. I´ve been investigating how to accomplish the scenario you are asking about.
As commented in the StackOverflow
discussion related to this same problem (Unable to build Hierarchical View Models using MEF
), you would need to register the
classes in the container, taking into account if the
needs to be registered as Singleton
or not. In order to do this you would use
In addition, constructors would be imported from the container when instances are resolved. Therefore any argument of the constructors should be imported from the container as well. And this feature would need to perform some changes on the solution you provided.
For example, the Region
list parameter may need to be registered in the container, inside a
class that contains te list. I will come back to you when I manage to resolve those dependencies.
The Prism Guide
may be helpful for finding the way on configuring the
and register the object types on it.