The Liberation of Pure DI (plus a bonus rant about MEF, which is not an IoC container)

added by DotNetKicks
12/17/2018 2:33:47 PM


I grasped early on that dependency injection is not the same thing as using a dependency injection/IoC container. Dependency injection is writing classes so that they receive dependencies instead of creating them or referencing static classes. To illustrate (forgive me, I really need to learn how to be brief and just mention a concept without explaining it): IThing is injected.