Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.1.0-preview-535" />

 IDependencyReMapper

public interface IDependencyReMapper
Represents a dependency remapper.
IStashboxContainer ReMap<TFrom, TTo>(Action<RegistrationConfigurator<TTo>> configurator = null) where TTo : TFrom

Replaces an existing registration mapping.

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

Replaces an existing registration mapping.

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

Replaces an existing registration mapping.

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

Replaces an existing registration mapping.

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

Replaces an existing decorator mapping.