因为容器能够在运行时把组件注入到依赖它的组件中,所以DI提供了消除组件间高度耦合的另外一种方式。
DI provides yet another way to eliminate high coupling between components, because the container can inject a component at run time into a component that relies on it.
作为一个快速的摘要,依赖注入容器就是一个用于构建高度松耦合的软件的工具。
As a quick summary, a di container is a tool you can use to support building highly decoupled software.
举重架由液压控制,使得注入头能够置于一个安全可靠的工作高度。
The jacking frame is hydraulically controlled to enable the injector head to be located at a safe and secure working height.
应用推荐