Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.6.4-preview-648" />

 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.