How to show Dependency Injection on a UML class diagram?

Roman picture Roman · Dec 20, 2010 · Viewed 20.5k times · Source

How do I show Dependency Injection of an object or class in a UML class diagram?

Answer

Jeremy picture Jeremy · Dec 21, 2010

Martin Fowler shows it like this:

DI UML