随笔分类 -  Castle

摘要:Type Interceptors Castle.Core, part of the Castle Project, provides a method interception framework called “DynamicProxy.” The Autofac.Extras.DynamicP 阅读全文
posted @ 2019-06-04 15:45 ChuckLu 阅读(204) 评论(0) 推荐(0) 编辑
摘要:How to make a simple dynamic proxy in C# You could do this with a combination of System.Dynamic.DynamicObject and ImpromptuInterface but you will have 阅读全文
posted @ 2019-05-20 17:02 ChuckLu 阅读(335) 评论(0) 推荐(0) 编辑
摘要:https://github.com/castleproject/Core/blob/master/docs/dynamicproxy.md DynamicProxy generates proxies for your objects that you can use to transparent 阅读全文
posted @ 2019-05-20 16:21 ChuckLu 阅读(578) 评论(0) 推荐(0) 编辑
摘要:比如现在有一个方法,进行积分奖励 PointAdd 在不改变原来方法的基础上,增加积分奖励的日志 Castle~动态代理实现对方法的拦截 阅读全文
posted @ 2019-05-17 20:40 ChuckLu 阅读(372) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示