<PackageReference Include="Castle.Core" Version="0.0.1110" />

IChangeProxyTarget

public interface IChangeProxyTarget
Exposes means to change target objects of proxies and invocations.
using System; using System.Runtime.CompilerServices; namespace Castle.DynamicProxy { [System.Runtime.CompilerServices.NullableContext(2)] public interface IChangeProxyTarget { void ChangeInvocationTarget(object target); [Obsolete("Use ((IProxyTargetAccessor)invocation.Proxy).DynProxySetTarget(target) instead.")] void ChangeProxyTarget(object target); } }