Stashbox by Peter Csajtai

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

 IDecoratorRepository

public interface IDecoratorRepository
Represents a decorator registration repository.
void AddDecorator(Type type, ServiceRegistration serviceRegistration, bool remap)

Adds a decorator to the repository.

IEnumerable<ServiceRegistration> GetDecoratorsOrDefault(Type implementationTypeToDecorate, TypeInformation typeInformation, ResolutionContext resolutionContext)

Gets all decorator registration.

Returns all registration mappings.