摘要:
1、Nuget引入Castle.Core 2、新建CustomInterceptor类,实现IInterceptor接口 1 using Castle.DynamicProxy; 2 using System; 3 using System.Collections.Generic; 4 using 阅读全文
posted @ 2022-06-19 16:15
ziff123
阅读(154)
评论(0)
推荐(0)
摘要:
1、Nuget引入 Autofac、Autofac.Extensions.DependencyInjection 2、Program.cs里面添加注入配置 { //第一种方式注入 builder.Host.UseServiceProviderFactory(new AutofacServicePro 阅读全文
posted @ 2022-06-19 14:54
ziff123
阅读(154)
评论(0)
推荐(0)

浙公网安备 33010602011771号