摘要: 官方文档:http://docs.autofac.org/en/latest/register/registration.html 一、注册概念 使用Autofac 注册组件,通过创建一个ContainerBuilder并且告知builder 哪些组件公开哪些服务。 组件由反射(通过注册一个特殊的. 阅读全文
posted @ 2016-09-05 22:09 赤月奇 阅读(2407) 评论(2) 推荐(2)