摘要: 获取IServiceProvider实例的几种方法 通过构造函数注入(Constructor Injection): public class MyController : ControllerBase { private readonly IServiceProvider _serviceProv 阅读全文
posted @ 2024-01-04 21:32 小辫子啦啦啦 阅读(992) 评论(0) 推荐(0) 编辑