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

ProxyInstanceContributor

public abstract class ProxyInstanceContributor : ITypeContributor
protected readonly Type targetType

protected ProxyInstanceContributor(Type targetType, Type[] interfaces, string proxyTypeId)

public virtual void Generate(ClassEmitter class, ProxyGenerationOptions options)

protected abstract Reference GetTargetReference(ClassEmitter emitter)

protected void ImplementProxyTargetAccessor(ClassEmitter emitter, FieldReference interceptorsField)