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
dialogService
IWindowDialogServiceThe IWindowDialogService instance.
question
stringThe question to ask.
title
stringThe title of the dialog.
Returns
- bool
True if the user answers yes, otherwise false.