-
Notifications
You must be signed in to change notification settings - Fork 154
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
Ioc doc needs updating #629
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the Ioc doc was last updated the MVVM toolkit has added an Ioc class to make using DI/Ioc a lot nicer then the examples given.
https://github.com/CommunityToolkit/dotnet/blob/main/CommunityToolkit.Mvvm/DependencyInjection/Ioc.cs
This makes the following statement no longer accurate:
The MVVM Toolkit doesn't provide built-in APIs to facilitate the usage of this pattern, as there already exist dedicated libraries specifically for this such as the Microsoft.Extensions.DependencyInjection package, which provides a fully featured and powerful DI set of APIs, and acts as an easy to setup and use IServiceProvider.
The examples given should also be reworked with this new functionality in mind.
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: