Stashbox by Peter Csajtai

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

 IRegistrationRepository

public interface IRegistrationRepository
Represents a registration repository.
bool AddOrReMapRegistration(ServiceRegistration registration, Type serviceType)

Remaps all the registrations mapped to a service type.

bool AddOrUpdateRegistration(ServiceRegistration registration, Type serviceType)

Adds or updates an element in the repository.

bool ContainsRegistration(Type type, object name)

Check a type exists with conditions.

Returns all registration mappings.

Returns a registration.

Returns all registrations for a type.