示例#1
0
        protected override IAopProxy CreateAopProxy(ProxyFactory advisedSupport)
        {
            //            return (IAopProxy) advisedSupport.GetProxy();
            IAopProxyFactory apf = new CachedAopProxyFactory();

            return(apf.CreateAopProxy(advisedSupport));
        }
示例#2
0
 public void SetUp()
 {
     CachedAopProxyFactory.ClearCache();
 }
 protected override IAopProxy CreateAopProxy(ProxyFactory advisedSupport)
 {
     //            return (IAopProxy) advisedSupport.GetProxy();
     IAopProxyFactory apf = new CachedAopProxyFactory();
     return apf.CreateAopProxy(advisedSupport);
 }