Method Ask
Ask(IWindowDialogService, string, string)
Asks a question with the specified title and returns a boolean value indicating the user's response.
public static bool Ask(this IWindowDialogService dialogService, string question, string title)
Parameters
dialogServiceIWindowDialogServiceThe IWindowDialogService instance.
questionstringThe question to ask.
titlestringThe title of the dialog.
Returns
- bool
True if the user answers yes, otherwise false.