摘要:
1、Nuget引入Castle.Core 2、新建CustomInterceptor类,实现IInterceptor接口 1 using Castle.DynamicProxy; 2 using System; 3 using System.Collections.Generic; 4 using 阅读全文
摘要:
1、创建控制台应用程序 2、Nuget引用Microsoft.Extensions.DependencyInjection 3、创建Business.IServices类库 创建接口IPower、IMicrophone.cs、IHeadphone 1 using System; 2 using Sy 阅读全文