Resolve from CompositionHost from MEF

13 views
Skip to first unread message

ocea...@hotmail.com

unread,
Sep 22, 2016, 9:02:34 AM9/22/16
to Autofac
Hi

Is it a way to hook up Autofac with CompositionHost from MEF?

Thanks
Eddy

Travis Illig

unread,
Sep 22, 2016, 12:51:39 PM9/22/16
to Autofac, ocea...@hotmail.com
The only MEF support we have is via the Autofac.Mef package (NuGet) and uses composable part catalogs. Here is the documentation.

If you can marry up the two in your code, you're set to go. However, there is no specific support for using a CompositionHost.

Michael Powell

unread,
Sep 23, 2016, 1:03:03 PM9/23/16
to Autofac, ocea...@hotmail.com


On Thursday, September 22, 2016 at 9:02:34 AM UTC-4, ocea...@hotmail.com wrote:
Hi

Is it a way to hook up Autofac with CompositionHost from MEF?

You're mingling MEF with Autofac, or vice versa? Aren't they BOTH Dependency Injection (and/or IOC)?

Thanks
Eddy
Reply all
Reply to author
Forward
0 new messages