10 0 %与XML
2016-08-23
0 0 0
暂无评分
其他
如何获取积分?
Do you...
Find configuring Windsor using XML a real pain? FluentIoC is XML free!
Want an easy way to resolve your services? Simple methods for resolving services!
Forget to add services/components to the config file? Easy to mass import services!
Rename properties/factory methods and forget to update the config file? Everythings configured in code so any errors will be caught in compilation!
Examples
```
IoC.Configure(c =>
c.Register<IBar>()
.ImplementedBy<Bar>()
.SetProperty(b => b.Message = "Lamda's rocks!")
.UsingFactory<BarFactory>(f => f.CreateBar()),
c.RegisterAssembly("Project.Services")
.ImplementedBy("Project.Components")
);
var bar = IoC.Resolve
```
xml
相关源码推荐
xml转txt格式
0
0
暂无评分
gsoap_2.8全部源码
0
0
暂无评分
读取XML-Python
0
0
暂无评分
博客源代码模板食品博客
0
0
暂无评分
xmlsync是一种脚本语言,可以把XML数据到数据库,从数据库中提取数据的XML格式
1
0
暂无评分
暂无评论