C军

不玩博客了!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年3月25日

摘要: 一、基本配置 1、通过配置的方式使用Autofac 2、通过RegisterModule方式使用配置文件中的信息 static void Main(string[] args) { ContainerBuilder builder = new ContainerBuilder(); builder.RegisterType(); builder.RegisterModule(new ConfigurationSettingsReader("a... 阅读全文
posted @ 2014-03-25 19:44 逆心 阅读(8411) 评论(6) 推荐(1) 编辑