From d1f629e13138aae4fb95ac969dd657557a2476a7 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 8 Jul 2025 19:45:51 +0100 Subject: [PATCH] [Refactor] Use newer Avalonia XAML naming convention. --- RomRepoMgr/Views/About.axaml.cs | 2 +- RomRepoMgr/Views/EditDat.axaml.cs | 2 +- RomRepoMgr/Views/ExportDat.axaml.cs | 2 +- RomRepoMgr/Views/ExportRoms.axaml.cs | 2 +- RomRepoMgr/Views/ImportDat.axaml.cs | 2 +- RomRepoMgr/Views/ImportDatFolder.axaml.cs | 2 +- RomRepoMgr/Views/ImportRomFolder.axaml.cs | 2 +- RomRepoMgr/Views/MainWindow.axaml.cs | 2 +- RomRepoMgr/Views/RemoveDat.axaml.cs | 2 +- RomRepoMgr/Views/SettingsDialog.axaml.cs | 2 +- RomRepoMgr/Views/SplashWindow.axaml.cs | 2 +- RomRepoMgr/Views/UpdateStats.axaml.cs | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/RomRepoMgr/Views/About.axaml.cs b/RomRepoMgr/Views/About.axaml.cs index eaea234..8b3f7f6 100644 --- a/RomRepoMgr/Views/About.axaml.cs +++ b/RomRepoMgr/Views/About.axaml.cs @@ -28,7 +28,7 @@ using Avalonia.Markup.Xaml; namespace RomRepoMgr.Views; -public sealed class About : Window +public sealed partial class About : Window { public About() => InitializeComponent(); diff --git a/RomRepoMgr/Views/EditDat.axaml.cs b/RomRepoMgr/Views/EditDat.axaml.cs index fad4797..f207b78 100644 --- a/RomRepoMgr/Views/EditDat.axaml.cs +++ b/RomRepoMgr/Views/EditDat.axaml.cs @@ -28,7 +28,7 @@ using Avalonia.Markup.Xaml; namespace RomRepoMgr.Views; -public sealed class EditDat : Window +public sealed partial class EditDat : Window { public EditDat() => InitializeComponent(); diff --git a/RomRepoMgr/Views/ExportDat.axaml.cs b/RomRepoMgr/Views/ExportDat.axaml.cs index 6d957c0..7cdf95d 100644 --- a/RomRepoMgr/Views/ExportDat.axaml.cs +++ b/RomRepoMgr/Views/ExportDat.axaml.cs @@ -30,7 +30,7 @@ using RomRepoMgr.ViewModels; namespace RomRepoMgr.Views; -public sealed class ExportDat : Window +public sealed partial class ExportDat : Window { public ExportDat() => InitializeComponent(); diff --git a/RomRepoMgr/Views/ExportRoms.axaml.cs b/RomRepoMgr/Views/ExportRoms.axaml.cs index e99c762..cc3d4bf 100644 --- a/RomRepoMgr/Views/ExportRoms.axaml.cs +++ b/RomRepoMgr/Views/ExportRoms.axaml.cs @@ -30,7 +30,7 @@ using RomRepoMgr.ViewModels; namespace RomRepoMgr.Views; -public sealed class ExportRoms : Window +public sealed partial class ExportRoms : Window { public ExportRoms() => InitializeComponent(); diff --git a/RomRepoMgr/Views/ImportDat.axaml.cs b/RomRepoMgr/Views/ImportDat.axaml.cs index 46c749f..1b8f7fa 100644 --- a/RomRepoMgr/Views/ImportDat.axaml.cs +++ b/RomRepoMgr/Views/ImportDat.axaml.cs @@ -30,7 +30,7 @@ using RomRepoMgr.ViewModels; namespace RomRepoMgr.Views; -public sealed class ImportDat : Window +public sealed partial class ImportDat : Window { public ImportDat() => InitializeComponent(); diff --git a/RomRepoMgr/Views/ImportDatFolder.axaml.cs b/RomRepoMgr/Views/ImportDatFolder.axaml.cs index 3ba591e..c5fc3b4 100644 --- a/RomRepoMgr/Views/ImportDatFolder.axaml.cs +++ b/RomRepoMgr/Views/ImportDatFolder.axaml.cs @@ -30,7 +30,7 @@ using RomRepoMgr.ViewModels; namespace RomRepoMgr.Views; -public sealed class ImportDatFolder : Window +public sealed partial class ImportDatFolder : Window { public ImportDatFolder() => InitializeComponent(); diff --git a/RomRepoMgr/Views/ImportRomFolder.axaml.cs b/RomRepoMgr/Views/ImportRomFolder.axaml.cs index 466777f..21ff0ad 100644 --- a/RomRepoMgr/Views/ImportRomFolder.axaml.cs +++ b/RomRepoMgr/Views/ImportRomFolder.axaml.cs @@ -28,7 +28,7 @@ using Avalonia.Markup.Xaml; namespace RomRepoMgr.Views; -public sealed class ImportRomFolder : Window +public sealed partial class ImportRomFolder : Window { public ImportRomFolder() => InitializeComponent(); diff --git a/RomRepoMgr/Views/MainWindow.axaml.cs b/RomRepoMgr/Views/MainWindow.axaml.cs index 39a3d08..53f574d 100644 --- a/RomRepoMgr/Views/MainWindow.axaml.cs +++ b/RomRepoMgr/Views/MainWindow.axaml.cs @@ -29,7 +29,7 @@ using Avalonia.Markup.Xaml; namespace RomRepoMgr.Views; -public class MainWindow : Window +public sealed partial class MainWindow : Window { public MainWindow() { diff --git a/RomRepoMgr/Views/RemoveDat.axaml.cs b/RomRepoMgr/Views/RemoveDat.axaml.cs index d4655d7..2b621a3 100644 --- a/RomRepoMgr/Views/RemoveDat.axaml.cs +++ b/RomRepoMgr/Views/RemoveDat.axaml.cs @@ -30,7 +30,7 @@ using RomRepoMgr.ViewModels; namespace RomRepoMgr.Views; -public sealed class RemoveDat : Window +public sealed partial class RemoveDat : Window { public RemoveDat() => InitializeComponent(); diff --git a/RomRepoMgr/Views/SettingsDialog.axaml.cs b/RomRepoMgr/Views/SettingsDialog.axaml.cs index b9039e9..4d80050 100644 --- a/RomRepoMgr/Views/SettingsDialog.axaml.cs +++ b/RomRepoMgr/Views/SettingsDialog.axaml.cs @@ -28,7 +28,7 @@ using Avalonia.Markup.Xaml; namespace RomRepoMgr.Views; -public sealed class SettingsDialog : Window +public sealed partial class SettingsDialog : Window { public SettingsDialog() => InitializeComponent(); diff --git a/RomRepoMgr/Views/SplashWindow.axaml.cs b/RomRepoMgr/Views/SplashWindow.axaml.cs index 0025c58..c28e2cd 100644 --- a/RomRepoMgr/Views/SplashWindow.axaml.cs +++ b/RomRepoMgr/Views/SplashWindow.axaml.cs @@ -30,7 +30,7 @@ using RomRepoMgr.ViewModels; namespace RomRepoMgr.Views; -public sealed class SplashWindow : Window +public sealed partial class SplashWindow : Window { public SplashWindow() => InitializeComponent(); diff --git a/RomRepoMgr/Views/UpdateStats.axaml.cs b/RomRepoMgr/Views/UpdateStats.axaml.cs index f87379a..26d49ec 100644 --- a/RomRepoMgr/Views/UpdateStats.axaml.cs +++ b/RomRepoMgr/Views/UpdateStats.axaml.cs @@ -30,7 +30,7 @@ using RomRepoMgr.ViewModels; namespace RomRepoMgr.Views; -public sealed class UpdateStats : Window +public sealed partial class UpdateStats : Window { public UpdateStats() => InitializeComponent();