随笔分类 - Castle
摘要:Type Interceptors Castle.Core, part of the Castle Project, provides a method interception framework called “DynamicProxy.” The Autofac.Extras.DynamicP
阅读全文
摘要: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
阅读全文
摘要:https://github.com/castleproject/Core/blob/master/docs/dynamicproxy.md DynamicProxy generates proxies for your objects that you can use to transparent
阅读全文
摘要:比如现在有一个方法,进行积分奖励 PointAdd 在不改变原来方法的基础上,增加积分奖励的日志 Castle~动态代理实现对方法的拦截
阅读全文