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

Castle.MicroKernel.ModelBuilder.Inspectors.ComponentProxyInspector

Inspects the component configuration and type looking for information that can influence the generation of a proxy for that component.

We specifically look for additionalInterfaces and marshalByRefProxy on the component configuration or the ComponentProxyBehaviorAttribute attribute.

namespace Castle.MicroKernel.ModelBuilder.Inspectors { public class ComponentProxyInspector : IContributeComponentModelConstruction { public ComponentProxyInspector(IConversionManager converter); public virtual void ProcessModel(IKernel kernel, ComponentModel model); protected virtual ComponentProxyBehaviorAttribute ReadProxyBehaviorFromType(Type implementation); protected virtual void ReadProxyBehavior(IKernel kernel, ComponentModel model); } }