<PackageReference Include="castle.windsor" Version="2.5.2" />

DefaultProxyFactory

This implementation of IProxyFactory relies on DynamicProxy to expose proxy capabilities.
protected ProxyGenerator generator

Constructs a DefaultProxyFactory

protected static ProxyGenerationOptions CreateProxyGenerationOptionsFrom(ProxyOptions proxyOptions, IKernel kernel, CreationContext context, ComponentModel model)

protected Type[] CollectInterfaces(Type[] interfaces, ComponentModel model)

protected virtual void CustomizeOptions(ProxyGenerationOptions options, IKernel kernel, ComponentModel model, object[] arguments)

protected virtual void CustomizeProxy(object proxy, ProxyGenerationOptions options, IKernel kernel, ComponentModel model)

public void OnDeserialization(object sender)