Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="4.1.0-preview-677" />

 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.

Registers a decorator type into the container with custom configuration. This function configures the registration with the AsImplementedTypes option.

Registers a decorator type into the container with custom configuration. This function configures the registration with the AsImplementedTypes option.

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

Registers a decorator type into the container with custom configuration.