You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have DialogService with methods like ShowMessageBox or other type of doalogs, which are not fits to scenario with custom dialog window and/or views (and viewmodels). My question is what is the best way to extend implementation of class DialogService : IDialogService provided by the library? And if I write my own implementation, should I register it somehow or just inherit DialogService (if I register it I will have two regietered classes) ?
I could not find an answer to this question. I have nearly the same question. Can I write my own implementation and just inherit DialogService? How can I register it, so it will be "used" instead of the original? Until now I use a extension to the IDialogService, but now I want to replace ShowDialog (not really, i want do do some things before opening the dialog and then call the original ShowDialog)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Originally posted by @kalatchev in #1666 (comment)
I could not find an answer to this question. I have nearly the same question. Can I write my own implementation and just inherit
DialogService
? How can I register it, so it will be "used" instead of the original? Until now I use a extension to the IDialogService, but now I want to replace ShowDialog (not really, i want do do some things before opening the dialog and then call the original ShowDialog)Beta Was this translation helpful? Give feedback.
All reactions