public static Target Create <Target>(Target instance, RuntimeProxyInterceptor interceptor) where Target : class { return((Target) new InternalProxy <Target>(instance, interceptor).GetTransparentProxy()); }
public InternalProxy(Target instance, RuntimeProxyInterceptor interceptor) : base(typeof(Target)) { Instance = instance; Interceptor = interceptor; }