<PackageReference Include="Castle.Windsor" Version="4.1.1" />

Castle.Windsor.Proxy.DefaultProxyFactory

This implementation of IProxyFactory relies on DynamicProxy to expose proxy capabilities.
namespace Castle.Windsor.Proxy { public class DefaultProxyFactory : AbstractProxyFactory, IDeserializationCallback { protected ProxyGenerator generator; public DefaultProxyFactory(); public DefaultProxyFactory(bool disableSignedModule); public DefaultProxyFactory(ProxyGenerator generator); protected static ProxyGenerationOptions CreateProxyGenerationOptionsFrom(ProxyOptions proxyOptions, IKernel kernel, CreationContext context, ComponentModel model); protected virtual void CustomizeProxy(object proxy, ProxyGenerationOptions options, IKernel kernel, ComponentModel model); protected virtual void CustomizeOptions(ProxyGenerationOptions options, IKernel kernel, ComponentModel model, object[] arguments); public void OnDeserialization(object sender); } }