Skip to content

WindowService class

The default IWindowService implementation. It hosts the view model in a DialogWindow shown non-modally, and detaches the view model automatically once the window closes — including when the user closes it through the caption button.

public class WindowService : IWindowService

Public Members

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

See Also