If Di contains any join references, then look at each of these join objects and keep track of all attributes from both the left and right sides of these joins.
如果Di包含任何联结引用,那么要查看每个联结对象,记录这些联结左右两边的所有属性。
But if that were true, DI would never have caught on.
但如果是这样,DI就永远不会这么流行。
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),但事实证明很困难的话,你会对这篇文章倍感亲切。
应用推荐