点击这里成为作者 · 更新于 2018-07-16 14:00:43

IoC 的类型?

  • Constructor-based dependency injection:

  • Setter-based dependency injection: