MEF as ServiceLocator

Nov 26, 2011 at 6:38 PM

I read this:

And arguments seems reasonable enogh (though saying frankly IMHO they are not critical for many projects).

What about similar Pro and Contras for usage of MEF just as ServiceLocator?:

container.GetExport(Of TestContracts.IClass1)()

It's 100% Service locator pattern isnt it? Anyone encountered any limitations/specifics using MEF as SL?