开发者

alternative to FlexibleInterceptionModule in latest AutoFac

开发者 https://www.devze.com 2023-02-18 01:16 出处:网络
I\'m trying to upgrade my project from AutoFac 1.4.4 t开发者_如何转开发o the latest version (2.4.5).My code uses FlexibleInterceptionModule (to support proxy methods) which is no longer available in A

I'm trying to upgrade my project from AutoFac 1.4.4 t开发者_如何转开发o the latest version (2.4.5). My code uses FlexibleInterceptionModule (to support proxy methods) which is no longer available in AutoFac. Is there any other alternative for this?


In 2.x you'll need to choose between 'class' and 'interface' interceptors. The tests for the new DP integration have some examples.

Hope this helps,

Nick

0

精彩评论

暂无评论...
验证码 换一张
取 消