The following examples use PicoContainer, an open source container developed by ThoughtWorks that performs DI and nothing else.
以下示例使用 PicoContainer,这是 ThoughtWorks 开发的一个开放源码的容器,除了执行 DI 之外什么也不做。
To straighten this out, open the properties window for the project, select JET Settings, and set the source container to be SRC.
要修改这种设置,打开该项目的properties窗口,选择JET Settings,并将source container设置为src。
It basically holds the relationship between a source container unit (that has a member type of requirement for a specific type of object) and target member unit of that object type.
它主要维持一个源容器单元(它拥有目标特定类型requirement类型成员)和目标类型的目标成员单元之间的关系。
应用推荐