检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:周洪斌[1]
出 处:《微型机与应用》2016年第6期82-84,共3页Microcomputer & Its Applications
基 金:江苏省"青蓝工程"项目(苏教师(2014)23号);2015年江苏省高校大学生创新创业训练计划立项项目(201511288009Y)
摘 要:IoC是一种优秀的组件解耦模式,而依赖注入是IoC最流行的实现方式。探讨了依赖注入的三种不同的实现方式:构造器注入、属性注入以及接口注入,并介绍了IoC容器Unity的基本使用方法。Inversion of control(IoC) is an excellent pattern of decoupling the software components which has dependency relationship with each other,and dependency injection(DI) is the most popular way to achieve IoC. This paper discusses about three kinds of DI,such as constructor injection,property injection and interface injection. Also this paper introduces the basic method of using Io C Unity container.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.227.183.185