<PackageReference Include="Castle.Core" Version="4.0.0-beta002" />

IChangeProxyTarget

public interface IChangeProxyTarget
Exposes means to change target objects of proxies and invocations.
namespace Castle.DynamicProxy { public interface IChangeProxyTarget { void ChangeInvocationTarget(object target); void ChangeProxyTarget(object target); } }