Stashbox by Peter Csajtai

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

 ServiceRepositoryExtensions

public static bool ContainsRegistration(this ImmutableTree<Type, ImmutableArray<object, ServiceRegistration>> repository, Type type, object name)

public static IEnumerable<ServiceRegistration> FilterOrDefault(this IEnumerable<ServiceRegistration> registrations, TypeInformation typeInformation, ResolutionContext resolutionContext, IRegistrationSelectionRule[] registrationSelectionRules)

public static ServiceRegistration SelectOrDefault(this IEnumerable<ServiceRegistration> registrations, TypeInformation typeInformation, ResolutionContext resolutionContext, IRegistrationSelectionRule[] registrationSelectionRules)