FileSurfer 1.1.4
Modern Windows File Explorer
Loading...
Searching...
No Matches
FileSurfer.App Class Reference

The App class serves as the entry point for the FileSurfer application, handling application-wide initialization and setup. More...

Inheritance diagram for FileSurfer.App:
Collaboration diagram for FileSurfer.App:

Public Member Functions

override void Initialize ()
 Initializes the application by loading XAML resources.
override void OnFrameworkInitializationCompleted ()
 Invokes FileSurferSettings.LoadSettings and sets Application.RequestedThemeVariant theme.

Static Private Member Functions

static SimpleResult ValidateArgs (string[]? args, out string? directory)
static MainWindowViewModel GetViewModel (string initialDir)

Detailed Description

The App class serves as the entry point for the FileSurfer application, handling application-wide initialization and setup.

It configures global resources, themes, and the main window, ensuring that the application's settings and appearance are properly applied.

Member Function Documentation

◆ GetViewModel()

MainWindowViewModel FileSurfer.App.GetViewModel ( string initialDir)
inlinestaticprivate
Here is the caller graph for this function:

◆ Initialize()

override void FileSurfer.App.Initialize ( )
inline

Initializes the application by loading XAML resources.

◆ OnFrameworkInitializationCompleted()

override void FileSurfer.App.OnFrameworkInitializationCompleted ( )
inline

Invokes FileSurferSettings.LoadSettings and sets Application.RequestedThemeVariant theme.

Configures the main window with the appropriate DataContext.

Here is the call graph for this function:

◆ ValidateArgs()

SimpleResult FileSurfer.App.ValidateArgs ( string?[] args,
out string? directory )
inlinestaticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: