Can we bind an Interface to multiple Providers<T> with ninject?
34 views
Skip to first unread message
Srijon Roy
unread,
Oct 30, 2020, 3:01:39 PM10/30/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ninject
I am not able to bind an interface to multiple providers and the documentation does not help either?
Is there anybody who can help?
Lukas Angerer
unread,
Dec 17, 2020, 5:27:22 AM12/17/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ninject
Generally speaking: yes, that is possible. Can you be a bit more specific about what you are trying to bind to the same interface and what/where/how you want to resolve which implementation?