摘要: 使用AspNetCore开发的都已经尝到了各种花式注入的甜头,其中最基本的注入方式莫过于IServiceCollection.Add[Scoped/Transient/Singleton]<TService,TImplementation>()了。而对于已经注册的Service,如果有临时更换的需求 阅读全文
posted @ 2019-01-26 10:27 pding 阅读(875) 评论(0) 推荐(0) 编辑