go top

依赖反转

网络释义

  Dependency Inversion

实现必须依赖抽象,而不是抽象依赖实现;如果以面对对象的方式来设计,依赖反转Dependency Inversion)的解释变为程序不应依赖具体实现,而是依赖于抽象,实现必须依赖于抽象。

基于24个网页-相关网页

短语

依赖反转原则 Dependency inversion principle

容器和依赖反转模式 IoC

依赖反转法则 Dependency Inversion Principle ; DIP

有道翻译

依赖反转

Dependency inversion

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 工厂抽象工厂类能够用做依赖框架但是已经专门的框架,称为反转控制容器

    Factories and Abstract Factories can be used as dependency frameworks, but there are specialized frameworks for that, known as Inversion of Control Container.

    youdao

  • NK控制反转仅仅一种思想各种依赖注入(无论有无框架)都取决设计软件是否抱有控制反转目的

    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.

    youdao

  • 软件具有控制反转反模式越多,那么使用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.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定