Replies: 2 comments 6 replies
-
TLDR; Yes, look at one of the DryIoc supports multiple ways to select Implementation Type, its constructor or any factory method. Or provide your concrete example. I will help you. |
Beta Was this translation helpful? Give feedback.
-
Actually the container.AddCustomResolver(resolver); The resolver can use a predicate to determine whether it wants to add special handling or just use the default resolution behavior. What DryIoc is missing is a customization that I can apply to all registrations. If global customization is against DryIoc's design principals, that's okay. My library works fine with Simple Injector, I just want to add an option to my library to use DryIoc which is fast and feature-rich. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Simple Injector has this very useful extension point. Why I need this for my interception scenario:
Thus, I don't have to register this custom behavior for each supported type. I only need to do it once. Like this:
Anything similar in DryIoc?
Beta Was this translation helpful? Give feedback.
All reactions