随笔分类 -  EntLib

Unity应用
摘要:0、Unity应用0、Unity应用11 1、控制倒转IoC(Inversion of Control)21.1 工厂模式22 2、依赖注入DI(Dependency Injection)42.1 BuildUp手动注入43 1、基础使用步骤43.1 1、建立容器43.2 2、将接口与类的映射注册到容器中43.2.1 RegisterType43.2.2 RegisterInstance(默认单例... 阅读全文

posted @ 2009-08-31 00:52 Utopia Coming 阅读(1468) 评论(0) 推荐(1)

Introducing Unity Application Block
摘要:Unity Block学习笔记1 What's Unity?1.1 轻量DI容器1.1.1 traditional1.1.1.1 constructor1.1.1.2 setter1.1.1.3 interface1.1.2 Unity 扩展1.1.2.1 property1.1.2.2 method call1.2 与其他EntLib的差异1.2.1 可独立安装的DI机制1.2.2 解决DI的途... 阅读全文

posted @ 2009-08-30 23:10 Utopia Coming 阅读(659) 评论(0) 推荐(0)

导航