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