摘要:
1、创建控制台应用程序,Nuget引入Autofac 2、创建接口IMicrophone 1 namespace Business.IServices 2 { 3 public interface IMicrophone 4 { 5 6 } 7 } 3、创建Microphone类 1 using B 阅读全文
posted @ 2022-05-21 23:05
ziff123
阅读(697)
评论(0)
推荐(0)
摘要:
.net core6内置了IOC容器ServiceCollection可以直接使用 1、创建IMicrophone接口 1 namespace Business.IServices 2 { 3 public interface IMicrophone 4 { 5 6 } 7 } 2、创建Microp 阅读全文
posted @ 2022-05-21 22:18
ziff123
阅读(492)
评论(0)
推荐(0)

浙公网安备 33010602011771号