点击这里成为作者 · 更新于 2017-10-23 15:00:28

IoC 的类型?

  • Constructor-based dependency injection:

  • Setter-based dependency injection: