现在的位置: 首页 > 综合 > 正文

Unity Application Block 1.0系列文章

2012年10月08日 ⁄ 综合 ⁄ 共 671字 ⁄ 字号 评论关闭

Unity Application Block (Unity) 是微软 Patterns & Practices  团队开发的一个轻量级、可扩展的依赖注入容器,有助于构建松散耦合的系统。它支持构造子注入 (Constructor Injection) , 属性/设值方法注入 (Property/Setter Injection) 和方法调用注入 (Method Call Injection) 。Patterns & Practices  团队于前些天(4月4日)发布了Unity的第一个正式版本(Unity 1.0)。

[注:该系列所有代码均基于.Net Framework 3.5]

Unity Application Block 1.0系列(1): 快速开始

Unity Application Block 1.0系列(2): 构造子注入(Constructor Injection)

Unity Application Block 1.0系列(3): 属性/设值方法注入(Property/Setter Injection)

Unity Application Block 1.0系列(4): 方法调用注入(Method Call Injection )

Unity Application Block 1.0系列(5): 使用BuildUp让已存在对象实例也支持依赖注入

Unity Application Block 1.0系列(6): 杜绝循环引用

Unity Application Block 1.0系列(7): Lifetime Managers

未完待续......

作者:Inrie (洪晓军)
出处:http://www.cnblogs.com/inrie

抱歉!评论已关闭.