Table of Contents

Method Ask

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

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 IWindowDialogService

The IWindowDialogService instance.

question string

The question to ask.

title string

The title of the dialog.

Returns

bool

True if the user answers yes, otherwise false.