<PackageReference Include="Castle.Core" Version="4.0.0-beta002" />

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