Skip to content

BackgroundWorkDialogService class

The default IBackgroundWorkDialogService implementation. It behaves exactly like DialogService; the separate type exists only so that progress dialogs can be resolved and substituted independently of the ordinary dialogs.

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

Declaration

public class BackgroundWorkDialogService : DialogService, IBackgroundWorkDialogService

Constructors

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

See Also