Stashbox by Peter Csajtai

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

 IRegistrationSelectionRule

using Stashbox.Resolution; using System.Runtime.CompilerServices; namespace Stashbox.Registration.SelectionRules { [System.Runtime.CompilerServices.NullableContext(1)] internal interface IRegistrationSelectionRule { bool IsValidForCurrentRequest(TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext); bool ShouldIncrementWeight(TypeInformation typeInformation, ServiceRegistration registration, ResolutionContext resolutionContext); } }