示例#1
0
 /// <summary>
 /// 构建一个动态代理
 /// </summary>
 /// <param name="target"></param>
 public InterceptingRealProxy(object target)
     : base(target.GetType())
 {
     this.target  = target;
     typeName     = target.GetType().FullName;
     interceptors = new InterceptionPipeline();
 }
示例#2
0
 /// <summary>
 /// 构建一个动态代理
 /// </summary>
 /// <param name="target">代理的原始对象</param>
 internal InterceptingRealProxy(object target)
     : base(target.GetType())
 {
     this.target  = target;
     interceptors = new InterceptionPipeline();
 }