A Singleton Service Locator Pattern(转)
摘要:
原文 This is the third post of a series on the Service Locator pattern. In the first post I described how to create a basic service locator for your C# application, while in the second post I introduced lazy initialization of the services. We now add another piece to our puzzle, transforming the Servi 阅读全文
posted @ 2011-03-07 15:27 philzhou 阅读(383) 评论(0) 推荐(0) 编辑