FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
Loading...
Searching...
No Matches
FileSurfer.Core.IPlatformBootstrap Interface Reference

Used to initialize the app with platform specific settings. More...

Inheritance diagram for FileSurfer.Core.IPlatformBootstrap:

Public Member Functions

MainWindowViewModel GetViewModel (string initialDir, MainWindow mainWindow, Action< bool > setDarkMode)
 Creates the main window view model using platform-specific services and startup context.
IDefaultSettingsProvider GetDefaultSettingsProvider ()
 Returns the platform-specific provider used to initialize default application settings.

Detailed Description

Used to initialize the app with platform specific settings.

Member Function Documentation

◆ GetDefaultSettingsProvider()

IDefaultSettingsProvider FileSurfer.Core.IPlatformBootstrap.GetDefaultSettingsProvider ( )

Returns the platform-specific provider used to initialize default application settings.

Implemented in FileSurfer.Linux.LinuxPlatformBootstrap, and FileSurfer.Windows.WindowsPlatformBootstrap.

◆ GetViewModel()

MainWindowViewModel FileSurfer.Core.IPlatformBootstrap.GetViewModel ( string initialDir,
MainWindow mainWindow,
Action< bool > setDarkMode )

Creates the main window view model using platform-specific services and startup context.

Implemented in FileSurfer.Linux.LinuxPlatformBootstrap, and FileSurfer.Windows.WindowsPlatformBootstrap.


The documentation for this interface was generated from the following file:
  • /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Core/App.axaml.cs