Refactor application structure and add unit tests
Added: - New `ProgressService` class for managing progress indicators. - New `AssetDatabase`, `AssetOpenHandlerAttribute`, and `AsyncAssetOpenHandlerAttribute` classes for asset handling. - `Ghost.UnitTest` project for unit testing with associated files and configurations. Changed: - `ActivationHandler` class to ensure correct handling of `LaunchActivatedEventArgs`. - `App.xaml.cs` to register `INotificationService` and `IProgressService`, replacing `StackedNotificationService`. - `OnLaunched` method in `App.xaml.cs` to correctly call `ActivationHandler.Handle(args)` and start the host. - `INavigationAware` interface from internal to public for broader access. - `EditorState.cs` to activate `EditorApplication` with the current service provider. - Property names in `AssetItem` and `ExplorerItem` structs to `Name` and `FullName`. - `NotificationService` class to implement `INotificationService` and refactor notification handling. - `AssetPathToGlyphConverter` to handle file extensions consistently. - Bindings in `ProjectPage.xaml` and `ProjectPage.xaml.cs` to use `FullName` instead of `Path`. - `EngineEditorWindow` and `LandingWindow` classes to utilize new notification and progress services. - `Logger` class to include a new method for logging errors with exceptions. Updated: - Manifest files and project files to reflect new structure and dependencies. - Solution file `GhostEngine.sln` to include the new unit test project. - Added several new test classes and methods in `UnitTests.cs`.
BIN
Ghost.App/Assets/Icon.altform-lightunplated_targetsize-16.png
Normal file
|
After Width: | Height: | Size: 599 B |
BIN
Ghost.App/Assets/Icon.altform-lightunplated_targetsize-24.png
Normal file
|
After Width: | Height: | Size: 831 B |
BIN
Ghost.App/Assets/Icon.altform-lightunplated_targetsize-256.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
Ghost.App/Assets/Icon.altform-lightunplated_targetsize-32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Ghost.App/Assets/Icon.altform-lightunplated_targetsize-48.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Ghost.App/Assets/Icon.altform-unplated_targetsize-16.png
Normal file
|
After Width: | Height: | Size: 580 B |
BIN
Ghost.App/Assets/Icon.altform-unplated_targetsize-24.png
Normal file
|
After Width: | Height: | Size: 825 B |
BIN
Ghost.App/Assets/Icon.altform-unplated_targetsize-256.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
Ghost.App/Assets/Icon.altform-unplated_targetsize-32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Ghost.App/Assets/Icon.altform-unplated_targetsize-48.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Ghost.App/Assets/Icon.scale-100.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Ghost.App/Assets/Icon.scale-125.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Ghost.App/Assets/Icon.scale-150.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Ghost.App/Assets/Icon.scale-200.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
Ghost.App/Assets/Icon.scale-400.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-16.png
Normal file
|
After Width: | Height: | Size: 433 B |
BIN
Ghost.App/Assets/Icon.targetsize-16_altform-lightunplated.png
Normal file
|
After Width: | Height: | Size: 599 B |
BIN
Ghost.App/Assets/Icon.targetsize-16_altform-unplated.png
Normal file
|
After Width: | Height: | Size: 580 B |
BIN
Ghost.App/Assets/Icon.targetsize-24.png
Normal file
|
After Width: | Height: | Size: 583 B |
BIN
Ghost.App/Assets/Icon.targetsize-24_altform-lightunplated.png
Normal file
|
After Width: | Height: | Size: 831 B |
BIN
Ghost.App/Assets/Icon.targetsize-24_altform-unplated.png
Normal file
|
After Width: | Height: | Size: 825 B |
BIN
Ghost.App/Assets/Icon.targetsize-256.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-256_altform-lightunplated.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-256_altform-unplated.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-32.png
Normal file
|
After Width: | Height: | Size: 852 B |
BIN
Ghost.App/Assets/Icon.targetsize-32_altform-lightunplated.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-32_altform-unplated.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-48.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-48_altform-lightunplated.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Ghost.App/Assets/Icon.targetsize-48_altform-unplated.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Ghost.App/Assets/LockScreenLogo.scale-200.png
Normal file
|
After Width: | Height: | Size: 432 B |
BIN
Ghost.App/Assets/SplashScreen.scale-200.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
Ghost.App/Assets/Square150x150Logo.scale-200.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
Ghost.App/Assets/StoreLogo.png
Normal file
|
After Width: | Height: | Size: 456 B |
BIN
Ghost.App/Assets/Wide310x150Logo.scale-200.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
Ghost.App/Assets/icon-256.ico
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
Ghost.App/Assets/icon-256.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |