7得票2回答
Autofac类拦截在特定设置中无法工作。

我使用Autofac进行IoC设置,并使用AoP拦截器。 通常,我会像这样注册接口拦截器: var builder = new ContainerBuilder(); builder.RegisterType<MyType>() .As<IMyType>()...