开发者

alternative to FlexibleInterceptionModule in latest AutoFac

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜