# MessageBoxService class

The default IMessageBoxService implementation. It resolves the owner window through IWindowsManager and shows the Eremex message box.

```csharp
public class MessageBoxService : IMessageBoxService
```

## Public Members

| name | description |
| --- | --- |
| [MessageBoxService](MessageBoxService/MessageBoxService.md)() | Legacy bridge for code that creates the service directly, without a container. Requires an initialized [`Current`](./ApplicationServicesContext/Current.md). |
| [MessageBoxService](MessageBoxService/MessageBoxService.md)(…) | Primary constructor. Dependencies are passed explicitly, so the service can be created by any DI container and substituted in tests. |
| [Show](MessageBoxService/Show.md)(…) |  (2 methods) |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.ApplicationServices.dll -->
