Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="4.2.0-preview-685" />

 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.

ServiceRegistration GetNextDecoratorOrDefault(Type implementationTypeToDecorate, TypeInformation typeInformation, ResolutionContext resolutionContext)

Gets a decorator registration.

Returns all registration mappings.