这是因为服务定位器将缓存不论哪个组件首次使用时所重载的名称的资源。
This is because the service locator will cache the resource for whichever component USES the overloaded name first.
我的第三个实现使用没有缓存的服务定位器。
My third implementation used a service locator with no cache.
重载资源名使得服务定位器与其缓存之间变得混乱。
So overloaded resource names mess up a service locator and its cache.
应用推荐