ExportFactory in MEF 2

added by rcash
11/21/2011 9:27:32 AM

3 Kicks, 214 Views

In MEF 2 Preview 4 new support has been added to enable a finer grained control over the lifetime and sharing of parts. The export factory allows us to create new instances of dependencies and control the lifetime of the created parts.


1 comments

Noldorin
11/21/2011 9:18:50 PM
Pretty cool. This was probably the most missed feature in MEF 1, from what I hear. Makes MEF into as good an IoC framework as you'd ever want... even though it's still not its intended purpose.