摘要: 代码很简单,不多说。对于拦截,windsor 使用动态代理的方式,即生成继承类的方式来实现的,因此无法拦截private 方法,因为无法在继承类中看见private方法。using System;using System.Reflection;using Castle.Core;using Cast... 阅读全文
posted @ 2015-01-09 14:42 大鱼人 阅读(964) 评论(0) 推荐(1) 编辑