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

Castle.MicroKernel.SubSystems.Conversion.DefaultConversionManager

Composition of all available conversion managers
namespace Castle.MicroKernel.SubSystems.Conversion { public class DefaultConversionManager : AbstractSubSystem, IConversionManager, ITypeConverter, ISubSystem, ITypeConverterContext { public ITypeConverterContext Context { get; set; } public ComponentModel CurrentModel { get; } public CreationContext CurrentCreationContext { get; } public ITypeConverter Composition { get; } public DefaultConversionManager(); protected virtual void InitDefaultConverters(); public void Add(ITypeConverter converter); public bool CanHandleType(Type type); public bool CanHandleType(Type type, IConfiguration configuration); public object PerformConversion(string value, Type targetType); public object PerformConversion(IConfiguration configuration, Type targetType); public TTarget PerformConversion<TTarget>(string value); public TTarget PerformConversion<TTarget>(IConfiguration configuration); public void Push(ComponentModel model, CreationContext context); public void Pop(); } }