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

Ioc doc needs updating #629

Open
nixtar opened this issue May 13, 2022 · 0 comments
Open

Ioc doc needs updating #629

nixtar opened this issue May 13, 2022 · 0 comments

Comments

@nixtar
Copy link

nixtar commented May 13, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant