RegisterType <StudentBLL>().As<IStudentBLL>(); //// 编译容器完成注册且准备对象解析 //var container = builder.Build(); //// 现在你可以使用Autofac 解析服务.
確定! 回上一頁