Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.1.0-preview-535" />

 IRegistrationSelectionRule

using Stashbox.Entity; using Stashbox.Resolution; namespace Stashbox.Registration.SelectionRules { internal interface IRegistrationSelectionRule { bool IsValidForCurrentRequest(TypeInformation typeInformation, IServiceRegistration registration, ResolutionContext resolutionContext); bool ShouldIncrementWeight(TypeInformation typeInformation, IServiceRegistration registration, ResolutionContext resolutionContext); } }