Can I pass more than one parameter to DialogService?

To pass a parameter into a DialogService component you can use a Dictionary but is it possible to have multiple parameters? Or only one?

You can use multiple entries in the dictionary.

1 Like


I tried like this. It's not working show me some example please.

The following code is not valid C#:

ds => Close([false, true]);

I think there are plenty of examples of using dictionaries in C# - search online. We try not to answer generic C# questions here.