I think Dependency Inversion is so important that I want to invert the dependencies on Guice!
我认为依赖倒置非常重要,因此打算转换对Guice的依赖。
By applying the dependency Inversion the modules can be easily changed by other modules just changing the dependency module.
通过应用依赖倒置,模块能够用修改依赖模块的方式简单的被其他模块修改。
The basic idea behind dependency inversion is that objects should be dependent upon abstractions and not upon implementations.
依赖性倒置原则的基本思想就是对象应该依赖于抽象而不是实现。
The Dependency Inversion Principle has proved essential for writing high-quality, maintainable, and therefore testable code.
依赖性倒置原则被证明是编写可维护和可测试的高质量代码的必要条件。
Dependency Inversion or Inversion of Control are better know terms referring to the way in which the dependencies are realized.
依赖倒置或者倒置控制,在依赖关系实现方式里面更加知名。
Dependency inversion stresses reliance on abstractions over implementations, which creates a great deal of flexibility within a code base.
依赖性倒置注重依赖于抽象(而非实现),这样可以在同一个代码库中创建大量的灵活性。
Some might manage their own data, as TestCase does; others might benefit from dependency inversion, where their configuration is established extrinsically.
有些可能管理自己的数据,如TestCase;有些可能得益于依赖性倒置(dependency inversion),在外部建立配置。
One thing developers have come to agree on is that well-written code is maintainable, and the Dependency Inversion Principle is a sure way to design for maintainability.
开发人员所赞同的一点是:编写良好的代码易于维护,依赖性倒置原则是进行可维护性设计的可靠方法。
Dependency Inversion Principle states that we should decouple high level modules from low level modules, introducing an abstraction layer between the high level classes and low level classes.
依赖倒置原则声明了我们应该将高层模块和低层模块解偶,在高层类和低层类之间引入一个抽象层。
Contracts. Move there all your View and Model interfaces, so your Presenter project won't have dependencies from these two assemblies (for more details check dependency inversion principle).
移动你的所有视图和模型接口,所以你的演示项目不会有依赖于这两个组件(详情查看依赖倒置原则)。
You hear both Inversion of Control and dependency injection used almost interchangeably.
您听说过控制反转和依赖注入几乎可以互换使用。
NK: inversion of control is a mindset, and dependency injection of any kind (with or without a framework) relies on your software being designed with the goals of inversion of control in mind.
NK:控制反转仅仅是一种思想,各种依赖注入(无论有无框架)都取决你设计的软件是否抱有控制反转的目的。
The BeanFactory applies the Inversion of Control (IOC) pattern to separate an application's configuration and dependency specification from the actual application code.
BeanFactory 使用控制反转 (IOC)模式将应用程序的配置和依赖性规范与实际的应用程序代码分开。
These types of frameworks are usually referred to as dependency injection or Inversion of Control (IoC) architectures.
这种类型的框架通常称为依赖注入或者Inversion of Control (IoC)架构。
The Apache Geronimo project provides a model for this technique with its support for dependency injection and inversion of control.
ApacheGeronimo项目通过依赖关系注入和反向控制的支持,为这种技术提供了一种模型。
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.
软件具有的控制反转反模式越多,那么使用Ninject对代码进行优化就越困难——应该说任何一种依赖注入技术对于这种情况都难以应对。
Factories and Abstract Factories can be used as dependency frameworks, but there are specialized frameworks for that, known as Inversion of Control Container.
工厂类和抽象工厂类能够被用做依赖框架,但是已经有了专门的框架,被称为反转控制容器。
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.
控制反转模式(也称作依赖性介入)的基本概念是:不创建对象,但是描述创建它们的方式。
This has changed with.net 3.0, where dependency injection and inversion of control containers are specifically called for.
这种情况到了。NET 3.0有所改变,依赖注入与控制反转都是一种特定的要求。
Resource injection, also known as dependency injection, is a specific form of inversion of control.
资源注入,也叫做关系注入,是控制转化的一种特定形式。
Inversion of Control (IoC) and Dependency Injection (DI) are patterns that draw a lot of attention (see Resources).
控制反转(IoC)和依赖项注入(DI)是两种引起极大关注的模式(参见参考资料)。
So how does inversion of control relate to dependency injection? At first glance the concepts above and my examples in the previous article have little in common.
反转控制和依赖注入有怎样联系的呢?我之前的文章对他两的解释有些相同点。
NET MVC framework also supports the use of Dependency Injection (DI) and Inversion of Control (IOC) container models.
NETMVC框架还支持使用依赖项注入(DI)和控制反转(IOC)容器模型。
NET MVC framework also supports the use of Dependency Injection (DI) and Inversion of Control (IOC) container models.
NETMVC框架还支持使用依赖项注入(DI)和控制反转(IOC)容器模型。
应用推荐