asp.net core 2.2 应用AutoFac进行自动扫描依赖注入实例代码 nuget引用 public IServiceProvider ConfigureServices(IServiceCollection s ... 阅读全文 5年前 autofac注入