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

Use "Locator.RegisterResolverCallbackChanged" to support switching the locator #59

Closed
gentledepp opened this issue Dec 3, 2024 · 0 comments

Comments

@gentledepp
Copy link
Contributor

AppBuilder.UseReactiveUI uses
Locator.RegisterResolverCallbackChanged(() =>
This ensures, that the registration code is re-run in cases where the service locator is changed.

We use this to use Microsoft.Extensions.DependencyInjection.
In this line the locator is changed - so the registrations need to be rerun.

gentledepp added a commit to gentledepp/Shell that referenced this issue Dec 3, 2024
…support Splat's Locator being changed to some other DI framework
OmidID pushed a commit that referenced this issue Dec 4, 2024
…s Locator being changed to some other DI framework (#60)
@OmidID OmidID closed this as completed Dec 4, 2024
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

2 participants