摘要: 前言:使用Autofac这一款IOC容器来替代Asp.Net Core自带的容器。 1. Autofac基础使用 准备工作: 编写一个抽象接口和一个具体实现类分别为: public interface ITestServiceA { void Show(); } public class TestS 阅读全文
posted @ 2021-02-07 21:25 zhouslthere 阅读(460) 评论(0) 推荐(0) 编辑