Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.10.1-preview-812" />

 IDecoratorRegistrator

public interface IDecoratorRegistrator
Represents a decorator registrator.

Registers a decorator service into the container.

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

Registers a decorator service into the container.

Registers a decorator service into the container. This function configures the registration with the AsImplementedTypes option.

Registers a decorator service into the container. This function configures the registration with the AsImplementedTypes option.

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

Registers a decorator service into the container.