Skip to content

DialogService class

The default IDialogService implementation. It hosts the view model in a DialogWindow, attaches the view model for as long as the dialog is open, and picks the owner window through IWindowsManager.

public class DialogService : IDialogService

Public Members

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

See Also