Skip to content

From a non-component class, should I expect a Modal dialog to appear when I call IModalService.Show<>? #457

Answered by szalapski
szalapski asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, When I use "AddScoped" or "AddTransient" in my new class, it works. But a registering the class as a Singleton causes the trouble. Any idea why?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chrissainty
Comment options

@szalapski
Comment options

Answer selected by szalapski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants