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

Castle.MicroKernel.Proxy.ProxyOptions

public class ProxyOptions
Represents options to configure proxies.
namespace Castle.MicroKernel.Proxy { public class ProxyOptions { public Type[] AdditionalInterfaces { get; } public bool AllowChangeTarget { get; set; } public bool UseMarshalByRefAsBaseClass { get; set; } public IReference<IProxyGenerationHook> Hook { get; set; } public IEnumerable<IReference<object>> MixIns { get; } public bool OmitTarget { get; set; } public IReference<IInterceptorSelector> Selector { get; set; } public bool RequiresProxy { get; } public ProxyOptions(ComponentModel component); public void AddAdditionalInterfaces(params Type[] interfaces); public void AddMixIns(params object[] mixIns); public void AddMixinReference(IReference<object> mixIn); } }