Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.2.0-preview-739" />

 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, bool includeOpenGenerics = true)

Checks whether a type is registered in the repository.

Returns all registration mappings.

Returns a registration.

Returns all registrations for a type.