-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure we support keyed services in client apps #20014
Conversation
@BrennanConroy / @halter73 - could one of you have a look at adding this support to .NET MAUI? |
I'm heading on vacation for the next two weeks. @benjaminpetit might also be able to help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Maui look for attributes anywhere? There is the FromKeyedServicesAttribute
if that's relevant to Maui.
Thanks for the review! I added a test for the attributes. All seems to be working. Since maui "service provider" is just a wrapper of the real provider with some extra buttons, no new logic was really written. |
Description of Change
New things in .NET 7 and we can't use it out the box.
Fixes #18992