Castle Windsor
This dramatically reduces coupling in a system and, as a consequence, simplifies reuse and testability.
这显著减少了系统的耦合,使得系统更简单,可复用,易测试。
There is some confusion created by people that think that 'Inversion of Control' is a synonym for 'Inversion of Control Container'. As stated, Inversion of control is a broader principle.
人们会有一些疑惑,觉得控制 IOC 是 IOC容器。如上文所述,IOC是一种广泛的原则。
We're almost there. To get the full picture we need to talk about dependencies first.
我们差不多了(我们快要成功了,快要理解了)。为了全面了解,我们首先需要讨论依赖关系。
Naming subsystem is where components matching component names / types to actual component handlers happens. (implements INamingSubSystem
) Out of the box there are three:
命名子系统是匹配组件名称和类型的地方(实现INamingSubSystem接口),开箱即用(形容封装好了,简单,无错)这里有三种:... 。