Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.2.8" />

 IDecoratorRegistrator

public interface IDecoratorRegistrator
Represents a decorator registrator.

Registers a decorator type into the container with custom configuration.

IStashboxContainer RegisterDecorator<TFrom, TTo>(Action<DecoratorConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom

Registers a decorator type into the container with custom configuration.

IStashboxContainer RegisterDecorator<TFrom>(Type typeTo, Action<DecoratorConfigurator<TFrom, TFrom>> configurator = null)

Registers a decorator type into the container with custom configuration.