0

what is the difference between Inversion of Control Containers and the Dependency Injection pattern?

Shahrooz Jafari
  • 925
  • 3
  • 9
  • 16

1 Answers1

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