You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default behavior can still be ImTools Fun.Always when this method isn't overridden, but this would give us the ability to apply the same configuration across the entire application without the explicit need to call it on every registration.
The text was updated successfully, but these errors were encountered:
ChaseFlorell
changed the title
Feature Request: add global .WithDefaultServiceTypeCondition method
Feature Request: add global .WithDefaultServiceTypeCondition(Func<Type, bool> condition) method
Apr 9, 2024
I think we need more RegisterMany targeted thingy,
e.g. WithRegisterManyRules(serviceTypeConditon: t => t.IsInterface).
So we keep the door open to extend it later.
Given the global Rules support within DryIoc, I would like to see an option to add a default
serviceTypeCondition
for all of myRegisterMany
calls.The default behavior can still be ImTools
Fun.Always
when this method isn't overridden, but this would give us the ability to apply the same configuration across the entire application without the explicit need to call it on every registration.The text was updated successfully, but these errors were encountered: