<PackageReference Include="Castle.Windsor" Version="5.0.0-beta001" />

IHandlerSelector

public interface IHandlerSelector
Implementors of this interface allow to extend the way the container perform component resolution based on some application specific business logic.
using System; namespace Castle.MicroKernel { public interface IHandlerSelector { bool HasOpinionAbout(string key, Type service); IHandler SelectHandler(string key, Type service, IHandler[] handlers); } }