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

IComponentModelBuilder

public interface IComponentModelBuilder
Implementors must construct a populated instance of ComponentModel by inspecting the component and|or the configuration.
using Castle.Core; using Castle.MicroKernel.ModelBuilder; using System; using System.Collections; namespace Castle.MicroKernel { public interface IComponentModelBuilder { IContributeComponentModelConstruction[] Contributors { get; } ComponentModel BuildModel(string key, Type service, Type classType, IDictionary extendedProperties); void AddContributor(IContributeComponentModelConstruction contributor); void RemoveContributor(IContributeComponentModelConstruction contributor); } }