点击这里成为作者 · 更新于 2017-08-19 13:00:07

IoC 的类型?

  • Constructor-based dependency injection:

  • Setter-based dependency injection: