它们是那种一旦应用依赖上,就“无法摆脱” 的服务。
Non-portable. They are services that, once your application is dependant upon, you are “locked in.”
通过应用依赖倒置,模块能够用修改依赖模块的方式简单的被其他模块修改。
By applying the dependency Inversion the modules can be easily changed by other modules just changing the dependency module.
依赖注入让您将应用程序的主要层次编织到一起,从而使您产生一个松散耦合应用程序。
Dependency injection lets you weave together the main layers of your application, thereby lets you produce a loosely coupled application.
应用推荐