Skip to content

MessageBoxService class

The default IMessageBoxService implementation. It resolves the owner window through IWindowsManager and shows the Eremex message box.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Avalonia.Controls.ApplicationServices.dll
NuGet Package: Eremex.Avalonia.Controls.ApplicationServices

Declaration

public class MessageBoxService : IMessageBoxService

Constructors

name description
MessageBoxService() Legacy bridge for code that creates the service directly, without a container. Requires an initialized Current.
MessageBoxService(…) Primary constructor. Dependencies are passed explicitly, so the service can be created by any DI container and substituted in tests.

Methods

name description
Show(…) (2 methods)

See Also