✅ Singleton Class
Do you know if there is a way to call a method each time i retrieve my singleton class this way :
services.GetRequiredService<MaterialDetailsViewModel>()
I want to reset 1 variable each time i call this singleton with GetRequiredService
3 Replies