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

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; } void AddContributor(IContributeComponentModelConstruction contributor); ComponentModel BuildModel(ComponentName name, Type[] services, Type classType, IDictionary extendedProperties); ComponentModel BuildModel(IComponentModelDescriptor[] customContributors); void RemoveContributor(IContributeComponentModelConstruction contributor); } }