autofac/Autofac — pull request #541 by alexandrnikitin (2014-06-29 15:11:47+00:00)
Title: Fix for #529 (RegisterDecorator does not play nicely when decorating items registered with .As<IFoo>())

Fix for #529.
I've added an exceptional case for ```LightweightAdapterRegistrationSource``` to ```ComponentRegistry``` which override existing registrations. The fix is quite dirty and I don't like it but couldn't find a better solution. At least it does its job. Any thoughts about a better way?