# IConfirmDialogService interface

Shows a confirmation or notification dialog with a "Don't show again" check box and honours the user's choice: once the box is ticked and the dialog is answered, the dialog with the same key is no longer shown and the remembered answer is returned instead.

**Namespace:** [`Eremex.AvaloniaUI.Controls.ApplicationServices`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)  
**Assembly:** `Eremex.Common.Contracts.dll`  
**NuGet Package:** [Eremex.Common.Contracts](https://www.nuget.org/packages/Eremex.Common.Contracts)

## Declaration

```csharp
public interface IConfirmDialogService
```

## Methods

| name | description |
| --- | --- |
| [Reset](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/IConfirmDialogService/Reset/index.md)(…) | Makes a suppressed dialog appear again. |
| [Show](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/IConfirmDialogService/Show/index.md)(…) | Shows the dialog unless the user has already asked not to see it. |
| [Show&lt;TViewModel&gt;](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/IConfirmDialogService/Show/index.md)(…) | Shows the dialog with the view of a view model as its content, unless the user has already asked not to see it. |

## Remarks

The choice is kept by [`IApplicationSettingsService`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/IApplicationSettingsService/index.md). Use [`IMessageBoxService`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/IMessageBoxService/index.md) for dialogs that must always appear.

## See Also

* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
