Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="2.9.0-preview-524" />

 IDependencyReMapper

public interface IDependencyReMapper
IStashboxContainer ReMap<TFrom, TTo>(Action<RegistrationConfigurator<TTo>> configurator = null) where TTo : TFrom

IStashboxContainer ReMap<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom>> configurator = null)

IStashboxContainer ReMap(Type typeFrom, Type typeTo, Action<RegistrationConfigurator> configurator = null)

IStashboxContainer ReMap<TTo>(Action<RegistrationConfigurator<TTo>> configurator = null)

IStashboxContainer ReMapDecorator(Type typeFrom, Type typeTo, Action<DecoratorConfigurator> configurator = null)