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

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); } }