依赖性倒置原则的基本思想就是对象应该依赖于抽象而不是实现。
The basic idea behind dependency inversion is that objects should be dependent upon abstractions and not upon implementations.
如果表单控件彼此依赖,这种依赖性就会在依赖图中自动表示出来。
If form controls depend on each other, that dependency is automatically represented by the dependency graph.
依赖性倒置注重依赖于抽象(而非实现),这样可以在同一个代码库中创建大量的灵活性。
Dependency inversion stresses reliance on abstractions over implementations, which creates a great deal of flexibility within a code base.
使用浏览器可以浏览查找所需的组件,然后可以使用项目依赖性插件(参见图1)并根据需要调整项目依赖性。
The explorer lets you browse to find the one you want, then you can use the project dependency plug-in (see Figure 1) and adjust your project dependencies if needed.
假定您的项目与大约十二个其他项目存在依赖关系,这些项目都有自己的依赖性树。
Imagine your project depends a dozen or so other projects, which have their own dependency trees.
您可以使用依赖注入来满足进行企业级开发(例如,数据源或事务管理器)所遇到的许多依赖性。
You can use dependency injection to satisfy the many dependencies you run across when you're doing enterprise development, like data sources or transaction managers.
现代大多数容器使用依赖注入管理依赖性。
All the major modern containers now manage dependencies with dependency injection.
通过依赖注入,轻量级容器减少了组件间的依赖性。
Through dependency injection, lightweight containers reduce dependencies between components.
依赖性解析——轻量级容器提供了一个普通的依赖性解析策略。
Dependency resolution — Lightweight containers provide a common dependency-resolution strategy.
尽管如此,有时会因为依赖性冲突而无法成功地重新创建依赖对象。
However, sometimes the db2look tool fails to successfully re-create the dependent objects because of a dependency conflict.
使用依赖注入来松散、解析依赖性。
Use dependency injection to loosen and resolve dependencies.
编写一个依赖性遍历程序基本上分为两个步骤:首先罗列出所有插件,其次罗列出用户所选择的插件的依赖性。
Writing a dependency walker is basically a two-part process: list all the plug-ins and list the dependencies of a user-selected plug-in.
当用户选择希望解析依赖链的插件之后,我们就需要对用户所选择的插件的plugin .xml文件进行分析,从而查看它的依赖性。
Once users select a plug-in for which they want to observe the dependency chain, you have to parse the plugin.xml file of the user-selected plug-in and look for its dependencies.
每个依赖性都会导致检查另外一个plugin . xml文件,后者又有自己的依赖性。
Each dependency will lead you to another plugin.xml file that will have its own dependencies.
首先是有依赖性最小、被依赖最多的那个组件。
就像我们在SOA应用程序中所讲述的那样,服务应用程序有多种用户,因而存在各种应用程序之间的依赖关系,这一点作为服务模型中的服务依赖性清楚描述过。
As we stated in SOA applications, there are various users of service applications, so there are various inter-application dependencies, clearly described as service dependencies in the service model.
我们可以编写一个递归函数来遍历这些依赖性,它可以查找某个插件的最新版本(针对在相同的系统中有重复插件的情况)以及它的所有依赖性。
Walk through these dependencies by writing a recursive function that can find the latest version of a plug-in (in case duplicate plug-ins are in the same system) and all its dependencies.
同时这种折射计具有偏振依赖性,随着光栅倾斜角的增大偏振依赖性提高。
This refractometer is polarization dependent, and the polarization dependency raise with the increase of grating tilted angle.
任务依赖性,即通常存在于任务之间的依赖关系的数量。
Task dependencies, meaning the number of dependencies that typically exist between tasks.
依赖性:元素用于指定Web应用程序与任何其他模块、应用程序或服务之间的依赖性。
Dependency: the element is used to specify a Web application's dependency on any other module, application, or service.
X - Ray是一个Eclipse插件,它生成有助于了解代码总体结构的一些信息,包括类之间依赖性的图形表示,图7是Struts的依赖性视图。
X-Ray is an Eclipse plug-in that produces several visualizations to help you see your code's overall structure, including pie views of dependencies between classes, as shown for Struts in Figure 7.
我们已经解决了依赖性问题:我们在运行时把依赖性注入到类的构造器之中。
We have resolved our dependency issue: we are going to inject our dependencies into the constructors of our classes at runtime.
某些依赖性,像“eclipse.ui”,由 PDE 自动进行配置,而其他依赖性,像 “org.eclipse.debug.core”,则在对操作进行编码时添加。
were configured automagically by the PDE, while others, like "org.eclipse.debug.core" will be added when the actions are coded.
连续用药可产生耐药性、精神依赖性和躯体依赖性。
Tolerance and psychological and physical dependence may occur with continuing use.
这些应用程序依赖于她们所引用的方案对象。依赖性管理的方式依据开发环境的不同而不同。
Such applications are dependent on the schema objects they reference. Dependency management techniques vary, depending on the development environment.
此快速抑制作用呈可逆性、浓度依赖性和非电压依赖性。
The rapid effect induced by corticosterone was reversible, concentration-dependent, and voltage-independent.
在语句级别的依赖性分析中,本文还进一步讨论了程序执行期间语句执行的概率信息,并提出了考虑语句执行概率的依赖性分析方法。
At the statement level, then running probability of the statements in run-time is discussed and the method of dependence analysis which concerning the running probability of statements is proposed.
结果护理干预后青少年吸烟依赖者对尼古丁的依赖性较干预前平均下降3.48分,生命质量平均提高1.97分。
Results After the intervention, their dependence or the nicotine decreases by 3.48 on average, compared with before, and the life quality increases 1.97 on average.
当代大学生中存在现代依赖性,表现为网络依赖、从众性、盲目崇拜和思想盲目性,这些依赖性严重危害他们的健康成长。
Modern Dependence exists among contemporary college students in the form of internet dependence, following suit, blind worship, blindness in mind, which is harmful to their growth.
结论冠心病患者内皮依赖性及非内皮依赖性的血管舒张功能均受损。
Conclusion Both endothelium dependent and endothelium independent vasodilatation is impaired in patients with coronary heart disease.
应用推荐