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

ComponentActivatorInspector

Inspects the component configuration and the type looking for a definition of component activator type. The configuration preceeds whatever is defined in the component.

public virtual void ProcessModel(IKernel kernel, ComponentModel model)

Searches for the component activator in the configuration and, if unsuccessful look for the component activator attribute in the implementation type.

Reads the attribute "componentActivatorType" associated with the component configuration and verifies it implements the IComponentActivator interface.

protected virtual void ReadComponentActivatorFromType(ComponentModel model)

Check if the type expose one of the component activator attributes defined in Castle.Core namespace.

protected virtual void ValidateComponentActivator(Type customComponentActivator)

Validates that the provide type implements IComponentActivator