Support Staff5 Posted by Shaun Smith on 05 May, 2010 04:32 PM
Injecting a class (object) into another object is fine and
shouldn't give you any issues. Injecting into a class (I'm
looking at that "static" keyword) is another story..
Using a DI container to set static (global) properties, whilst
technically possible, is conceptually strange and practically
dangerous. Besides, why use mutable statics when you have a DI
container at your disposal?