#3 − Got it
Marc –
You’re right. Didn’t thougt about just removing a aspect and adding your own implementation. Way easier then using a IoC container.
I don’t like passing around the container anyway as it hides code-dependencies. I once was told folks even call it an anti-pattern. Eg this guy: http://blog.ploeh.dk/2010/02/03/ServiceLocatorisanAnti-Pattern/