Skip to content
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

MauiUIApplicationDelegate.Current.Services is obsolete #2262

Closed
grahampett opened this issue May 14, 2024 · 0 comments · Fixed by #2297
Closed

MauiUIApplicationDelegate.Current.Services is obsolete #2262

grahampett opened this issue May 14, 2024 · 0 comments · Fixed by #2297
Assignees
Labels
doc-enhancement Improve the current content [org] dotnet-maui/subsvc dotnet-mobile/svc Pri2 📌 seQUESTered Identifies that an issue has been imported into Quest.

Comments

@grahampett
Copy link

grahampett commented May 14, 2024

Type of issue

Outdated article

Description

This article recommends accessing the IServiceProvider in native iOS code from MauiUIApplicationDelegate.Current.Services, but this is marked as obsolete.

Page URL

https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/dependency-injection?view=net-maui-8.0

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/fundamentals/dependency-injection.md

Document Version Independent Id

1347a217-86f8-a9ca-3692-688db41fb1e4

Article author

@davidbritch

Metadata

  • ID: 1347a217-86f8-a9ca-3692-688db41fb1e4
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

Associated WorkItem - 259813

@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label May 14, 2024
@davidbritch davidbritch added the doc-enhancement Improve the current content [org] label May 30, 2024
@davidbritch davidbritch self-assigned this May 30, 2024
@dotnet-bot dotnet-bot removed the ⌚ Not Triaged Not triaged label May 30, 2024
@davidbritch davidbritch added the 🗺️ reQUEST Triggers an issue to be imported into Quest. label May 31, 2024
@sequestor sequestor bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement Improve the current content [org] dotnet-maui/subsvc dotnet-mobile/svc Pri2 📌 seQUESTered Identifies that an issue has been imported into Quest.
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants