摘要: 一、构造函数注入一个接口集合 Startup.cs 接口和类 /Controllers/AboutController.cs /Views/About/Index.cshtml 二、利用AddTransient的扩展方法 Startup.cs 接口和类 /Controllers/HomeContro 阅读全文
posted @ 2019-05-29 17:15 阿水zev 阅读(932) 评论(0) 推荐(0) 编辑