Dependency Injection Patterns stand alone implementaion

49 Views Asked by At

In Mark Seemann lists four DI patterns in his book Dependency Injection in .NET:

  1. Constructor injection
  2. Property injection
  3. Method injection
  4. Ambient context

He also talks about the concept of the composition root.

My question is:
Is it possible to have a Composition Root in an application, without it making use of any DI patterns? Or does the Composition Root always inherently require DI?

0

There are 0 best solutions below