<PackageReference Include="castle.core" Version="2.5.2" />

IServiceProviderExAccessor

public interface IServiceProviderExAccessor
This interface should be implemented by classes that are available in a bigger context, exposing the container to different areas in the same application.

For example, in Web application, the (global) HttpApplication subclasses should implement this interface to expose the configured container