what is the difference between Inversion of Control Containers and the Dependency Injection pattern?
Asked
Active
Viewed 334 times
0
-
1Possible duplicate http://stackoverflow.com/questions/6550700/inversion-of-control-vs-dependency-injection – Sanja Melnichuk Nov 04 '12 at 10:00
-
1The first ones implement the second one. – JB Nizet Nov 04 '12 at 12:26
1 Answers
0
There is no 'difference'. An Inversion of Control container can be used to create instances of classes, injecting any depencies needed via constructor, property or method injection.
Ultimately, the IoC container is the 'doer' and the injection is what's 'done'.
Read Mark Seemann's work for the full and clear picture.

David Osborne
- 6,436
- 1
- 21
- 35