Skip to content

OpenFileDialogService constructor (1 of 2)

Legacy bridge for code that creates the service directly, without a container. Requires an initialized Current.

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

Declaration

public OpenFileDialogService()

See Also


OpenFileDialogService constructor (2 of 2)

Primary constructor. Dependencies are passed explicitly, so the service can be created by any DI container and substituted in tests.

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

Declaration

public OpenFileDialogService(IWindowsManager windowsManager)

Parameters

name type description
windowsManager IWindowsManager Supplies the window the dialog is shown on top of.

Exceptions

exception condition
ArgumentNullException windowsManager is null.

See Also