Replies: 1 comment 2 replies
-
Try this: container.RegisterDelegate<IFoo>(_ => new CheerfulService { Greetings = "Hey!" }); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am switching from Unity to DryIoc. Now I have seen a different behavior between these twos:
Works with Unity, but not with DryIoc
Works with DryIoc
Is there a Container rule which allows to make the first option to work?
Thanks for feedback.
Beta Was this translation helpful? Give feedback.
All reactions