简单的 IoC 容器 BarbarianIOC
- 授权协议: CPOL
- 开发语言: C#
- 操作系统: Windows
- 软件首页: http://www.codeproject.com/Articles/552514/BarbarianIOC-A-simple-IOC-Container
- 软件文档: http://www.codeproject.com/Articles/552514/BarbarianIOC-A-simple-IOC-Container
软件介绍
BarbarianIOC 是一个简单的 .NET 实现的 IoC 容器,示例代码:
Container = new Container();
int someMockAge = 23; // this could come from anywhere (App.Config / database etc etc)
//Register ALL components
container.RegisterComponents(
//where you can use concrete type
new Component().For<Foo>().WithInstanceMode(InstanceMode.Transient),
//or you can use an interface and it's implementation
new Component().For<IBaz>().ImplementedBy<Baz>().WithInstanceMode(InstanceMode.Transient),
//and you can also declare singleton instance mode if you like
new Component().For<SomeIBazDependantClass>().WithInstanceMode(InstanceMode.Singleton),
//and even supply some non IOC provided constructor params by way of an anonymous object
new Component().For<SomeFooDependantClass>()
.DependsOn(new
{
age=someMockAge
})
.WithInstanceMode(InstanceMode.Transient)
);
//allow the container to wire stuff up (essentially create Expression.New for all
//components to allow Container to compile and create some quicker lookup delegates)
container.WireUp();
如何构建敏捷项目管理团队
丽萨·阿金斯 / 徐蓓蓓、白云峰、刘江华 / 电子工业出版社 / 2012-6 / 49.00元
《敏捷项目管理系列丛书•PMI-ACPSM考试指定教材•如何构建敏捷项目管理团队:ScrumMaster、敏捷教练与项目经理的实用指南》结合作者的亲身经历告诉读者如何建立一个高性能的敏捷项目管理团队,以及最终成为一名优秀的敏捷教练。作者将敏捷教练定义为导师、协助者、老师、问题解决者、冲突领航员、协作指挥者,正是这种不同角色之间的细微区别才使敏捷教练的工作富有深度。《敏捷项目管理系列丛书•PMI-A......一起来看看 《如何构建敏捷项目管理团队》 这本书的介绍吧!
