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

IEnvironmentInfo

public interface IEnvironmentInfo
Gets the environment information (name). Implementors should use to define their environments and how those affect the configuration.
namespace Castle.Windsor { public interface IEnvironmentInfo { string GetEnvironmentName(); } }