I am working on a C # / MVC application that currently uses Windsor as the basis of the DI, and just started learning MEF to make the application more extensible. It worked beautifully, until the moment when my plugins should satisfy dependencies.
How can I contribute dependency-driven Windsor to a class that is imported by MEF, preferably using [ImportingConstructor]?
I tried to extend the ContainerAdapterBase from MefContrib, but cannot figure out how to make it work with [ImportingConstructor]. In addition, using MEF for IoC is not an option.
Thank!
source
share