volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Service Registration - Single interface multiple implementation

I have scenario in which i have single interface with multiple implementation, but i can't get all instance in service locator

When i use the service locator, the last registered service to the interface is all i can get. 

#282134
Jun 20, 2022 5:36
Vote:

Constructor parameter injection and IEnumerable, like this?

https://twitter.com/KarlSolgard/status/1484527534742114306?s=20

#282135
Edited, Jun 20, 2022 8:34
Mark Malinao - Jun 20, 2022 8:36
Yes, i've found that earlier on. Its the exception error that confuses me. This has been resolved
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.