"Let me in, Di."—"Okay. Just a minute."
“让我进去,迪。”—“好的,稍等。”
Eleven years later, he was caught by the army of a rich young man called Zhu Di and made to work for him.
11年后,他被一个名叫朱棣的富家子弟的军队抓住,强迫他为朱棣工作。
Even if the di work is performed on a branch that is divergent to the one where features and bug fixes are still being coded, there is a risk of merge-hell when the di refactor is finished.
即便仅在一个分支上进行DI重构的工作,这跟仍然在进行功能开发和缺陷修复的其他分支也是背道而驰的,当DI重构完成时就会有合并错误的风险。
DI is a code reuse technique that has existed for years, but only now are programmers starting to reap the real benefits of the extremely loose coupling that it provides.
DI是一种已经存在多年的代码重用技术,但是只有现在程序员才开始享受它所带来的极度松散耦合的真正好处。
One of the difficulties in understanding a topic like di is the amount of coupling this topic has with other, unrelated topics.
理解像DI这样的主题时,困难之一就是这个主题与其他无关主题的耦合数量。
Almost all modern enterprise frameworks have a core DI component to them.
几乎所有的现代企业框架都有一个核心的依赖注入组件。
As a quick summary, a di container is a tool you can use to support building highly decoupled software.
作为一个快速的摘要,依赖注入容器就是一个用于构建高度松耦合的软件的工具。
In a sense though dependency injection is not technically particularly interesting; really what DI frameworks do is offer a backbone for interactions between objects.
虽然在某种意义上依赖注入在技术上并没什么特别的;实际上DI框架所做的就是为对象之间的交互提供一个中枢。
DI as a concept is just one window into the art of creating applications — and let me stress that point very clearly, it is an art, not a science.
依赖注入只是进入构建应用艺术的一扇窗——我要非常清楚地强调这一点,构建应用是艺术,不是科学。
You will have an affinity to this article if your team is trying to move an existing application to Dependency Injection (di) from a nest-of-singletons design, but it is proving difficult.
如果你的团队正设法将现存应用从单件嵌套设计转为依赖注入(DI),但事实证明很困难的话,你会对这篇文章倍感亲切。
Having a container from Microsoft helps promote DI both to the general Microsoft.net developer community and internal Microsoft developers as well.
有一个微软提供的容器有助于依赖注入在广大微软。NET社区和微软内部开发人员的使用。
There is a more fundamental issue at hand, which is that DI is itself a workaround to a deficiency in the language.
目前有一个更根本的议题,依赖注入是语言缺乏该功能的一种解决方法。
Ghosts by Daylight: a Memoir of War and Love. By Janine di Giovanni.
《白日幽魂:战火与爱情的回忆录》,作者雅妮娜-迪-乔瓦尼。
While on a search-and-destroy patrol, near the village Di an, we were ambushed on a jungle trail by a small band of Vietcong guerillas.
结果,我们在迪安村附近进行扫荡性巡逻时,在一条丛林小路上被一支越共游击小分队伏击。
As a result, programmers write more code in a DI style.
因此,程序员编写的代码大部分是di样式的。
"Officers and men of a Di Xiatou, the little girl said:" girl, we are to save you.
一位官兵低下头,对小女孩说道:“小妹妹,我们正在救你。”
As a result DI is a central concept in nearly every engineer's toolbox.
因此依赖注入几乎是每个工程师工具箱中的核心概念。
They prefer that a class be totally ignorant of the DI framework.
他们更喜欢一个完全忽略DI框架的类。
Having a DI container from Microsoft makes them feel safer and lets them get the advantages.
拥有一个由微软提供支持的容器使得他们有更大的安全感,并让他们得到好处。
There is no doubt that a DI application is a more testable and cleaner architecture than the sprawling singleton hair-ball.
毫无疑问,使用DI的应用要比东一块西一块的单件应用有更可测、更清晰的架构。
Hai Di Lao, a hot-pot chain with 34 outlets in China, offers free manicures and shoe shines for customers waiting for tables.
在中国拥有34家门店的火锅连锁海底捞为等位的客人提供免费美甲和擦鞋服务。
A dream is a wish your heart makes... doo di doo di doo.
梦想就是你内心底的一个愿望,实现它,实现它。
This series of articles demonstrates what a powerful code reuse mechanism DI is.
本系列演示了DI是多么强大的代码重用机制。
Even making the cell phone ra di a tion more intense just means that there are more photons of that energy, not stronger photons.
就算我们加强手机辐射,也只意味着得到更多同等能量的光子,而不是能量更强的光子。
Caprese salad, a little mozzarella di buffalo.
意大利番茄沙拉,加点水牛芝士。
For example, for some, a core is a processor, others regard a processor as the chip (or di) that plugs into a socket, and so on.
例如,对于某些供应商而言,一个核心就是一个处理器,而另一些供应商则认为处理器就是插在一个插座中的芯片,当然还有其他的说法。
"I don't know if I want to say that, but the Decepticons have a plan," says producer Lorenzo di Bonaventura.
“我只能说我不知道,霸天虎有一个计划。”制片洛伦佐邦那文图拉说。
A masterpiece from God, I felt di.
此必上帝之杰作,使晕眩。
A masterpiece from God, I felt di.
此必上帝之杰作,使晕眩。
应用推荐