我们为Cairngorm提供了一个可配置在IoC容器中的服务定位器。
For Cairngorm, we offer a service locator that can be configured in the IoC container.
服务定位器模式通过提供一个RIA所需的所有服务的仓库解决这个难题。使用它,你可以集中和重用你的服务标签。
The Service Locator pattern addresses this challenge by providing a repository for all services that the RIA requires. Within it you can centralize and reuse your service tags.
应用推荐