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

ProxyOptions

public class ProxyOptions
Represents options to configure proxies.
public Type[] AdditionalInterfaces { get; }

Gets the additional interfaces to proxy.

public bool AllowChangeTarget { get; set; }

Determines if the proxied component can change targets.

public IReference<IProxyGenerationHook> Hook { get; set; }

Gets or sets the proxy hook.

public IEnumerable<IReference<object>> MixIns { get; }

Gets the mix ins to integrate.

public bool OmitTarget { get; set; }

Determines if the proxied component uses a target.

Gets or sets the interceptor selector.

public bool UseSingleInterfaceProxy { get; set; }

Determines if the proxied component should only include the service interface.

Initializes a new instance of the ProxyOptions class.

public void AddAdditionalInterfaces(Type[] interfaces)

Adds the additional interfaces to proxy.

public void AddMixinReference(IReference<object> mixIn)

Adds the additional mix in to integrate.

public void AddMixIns(object[] mixIns)

Adds the additional mix ins to integrate.