Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.0.0-preview-720" />

 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.