控制反转模式(也称作依赖性介入)的基本概念是:不创建对象,但是描述创建它们的方式。
The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created.
DS组件不需要OSGi接口,这样,它可以在其他控制反转模式(如spring)里被模拟来测试或使用。
Ds components needs no OSGi interfaces, and as such, can be mocked for testing or used in other inversion of control patterns like Spring.
这是一个使用反转控制(IOC)模式进行配置的示例,因此很自然地适合方面。
This is an example of using the Inversion of Control (IOC) pattern for configuration and is a natural fit with aspects.
可测试模式:控制反转、分离表现
Testability patterns: Inversion of Control, Separated Presentation
控制反转(IoC)和依赖项注入(DI)是两种引起极大关注的模式(参见参考资料)。
Inversion of Control (IoC) and Dependency Injection (DI) are patterns that draw a lot of attention (see Resources).
软件具有的控制反转反模式越多,那么使用Ninject对代码进行优化就越困难——应该说任何一种依赖注入技术对于这种情况都难以应对。
The more of these inversion-of-control anti-patterns the software has, the more difficult it will be to reshape it to work with Ninject -- or any dependency injection technique, for that matter.
后者是著名的控制反转(inversionof control,IOC)模式的一种实现,可用于连接委托对象。
The latter is an implementation of the well-known inversion of control (IOC) pattern and can be used to tie in delegate objects.
BeanFactory 使用控制反转 (IOC)模式将应用程序的配置和依赖性规范与实际的应用程序代码分开。
The BeanFactory applies the Inversion of Control (IOC) pattern to separate an application's configuration and dependency specification from the actual application code.
基于H型双极模式P WM控制原理,设计了一种直流微电机正反转调速功率放大电路。
A power amplification of H-bridge bipolar PWM control is designed for controlling DC micro-motor of positive rotation, reverse rotation and speed regulation.
基于H型双极模式P WM控制原理,设计了一种直流微电机正反转调速功率放大电路。
A power amplification of H-bridge bipolar PWM control is designed for controlling DC micro-motor of positive rotation, reverse rotation and speed regulation.
应用推荐