zcz527 / autofac

Automatically exported from code.google.com/p/autofac
Other
0 stars 0 forks source link

Feature request: MEF Import satisfying support #316

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'd like the ability to use Autofac as a drop-in replacement container for the 
MEF composition container, but with the added control that Autofac supports.

In current versions adding Exports to the container works perfectly fine, 
however satisfying imports (also private properties) is not there out of the 
box.

Is this something that is in the planning?

Original issue reported on code.google.com by dennis.s...@gmail.com on 2 Apr 2011 at 11:50

GoogleCodeExporter commented 8 years ago
Hi,

Have you tried using Autofac.Integration.Mef? It ought to have the behaviour 
you're looking for, i.e. see tests in: 
http://code.google.com/p/autofac/source/browse/src/Test/Autofac.Tests.Integratio
n.Mef/RegistrationExtensionsTests.cs

If this isn't what you're looking for please drop an email to the discussion 
forum for consideration, feature requests get a wider audience there than in 
the tracker.

Thanks for the suggestion!

Nick

Original comment by nicholas...@gmail.com on 4 Apr 2011 at 10:13