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

InstallerFactory

public class InstallerFactory
Helper class used by FromAssembly to filter/order and instantiate IWindsorInstaller implementations
using Castle.Core.Internal; using Castle.MicroKernel.Registration; using System; using System.Collections.Generic; namespace Castle.Windsor.Installer { public class InstallerFactory { public virtual IWindsorInstaller CreateInstance(Type installerType) { return installerType.CreateInstance<IWindsorInstaller>(Array.Empty<object>()); } public virtual IEnumerable<Type> Select(IEnumerable<Type> installerTypes) { return installerTypes; } } }