From 6b91eb0913fda760ec00d3e0108150993fc65694 Mon Sep 17 00:00:00 2001 From: Maxime BATISTA Date: Mon, 5 Jun 2023 15:10:46 +0200 Subject: [PATCH] refactor misspelled solution and assembly 'ShoopNCook' to 'ShopNCook' --- App.xaml | 4 ++-- App.xaml.cs | 2 +- ConnectAppShell.xaml | 4 ++-- ConnectAppShell.xaml.cs | 7 +++---- ConnectionObserver.cs | 2 +- Controllers/ConnectionController.cs | 2 +- Controllers/LoginController.cs | 2 +- Controllers/MorePageController.cs | 4 ++-- Controllers/RegisterController.cs | 2 +- IApp.cs | 2 +- MainAppShell.xaml | 4 ++-- MainAppShell.xaml.cs | 6 +++--- MauiProgram.cs | 2 +- Platforms/Android/MainActivity.cs | 2 +- Platforms/Android/MainApplication.cs | 2 +- Platforms/MacCatalyst/AppDelegate.cs | 2 +- Platforms/MacCatalyst/Program.cs | 2 +- Platforms/Tizen/Main.cs | 2 +- Platforms/Tizen/tizen-manifest.xml | 2 +- Platforms/Windows/App.xaml | 4 ++-- Platforms/Windows/App.xaml.cs | 2 +- Platforms/Windows/app.manifest | 2 +- Platforms/iOS/AppDelegate.cs | 2 +- Platforms/iOS/Program.cs | 2 +- ShoopNCook.csproj => ShopNCook.csproj | 2 -- ShoopNCook.sln => ShopNCook.sln | 2 +- UserNotifier.cs | 2 +- Views/Components/CounterView.xaml | 2 +- Views/Components/CounterView.xaml.cs | 2 +- Views/Components/HeadedButton.xaml | 2 +- Views/Components/HeadedButton.xaml.cs | 2 +- Views/Components/IngredientEntry.xaml | 2 +- Views/Components/IngredientEntry.xaml.cs | 2 +- Views/Components/IngredientView.xaml | 2 +- Views/Components/IngredientView.xaml.cs | 2 +- Views/Components/OwnedRecipeView.xaml | 2 +- Views/Components/OwnedRecipeView.xaml.cs | 2 +- Views/Components/RecipeView.xaml | 2 +- Views/Components/RecipeView.xaml.cs | 2 +- Views/Components/StepEntry.xaml | 2 +- Views/Components/StepEntry.xaml.cs | 2 +- Views/Components/StoredRecipeView.xaml | 4 ++-- Views/Components/StoredRecipeView.xaml.cs | 2 +- Views/CreateRecipePage.xaml | 4 ++-- Views/CreateRecipePage.xaml.cs | 4 ++-- Views/FavoritesPage.xaml | 4 ++-- Views/FavoritesPage.xaml.cs | 4 ++-- Views/HomePage.xaml | 4 ++-- Views/HomePage.xaml.cs | 4 ++-- Views/LoginPage.xaml | 2 +- Views/LoginPage.xaml.cs | 4 ++-- Views/MorePage.xaml | 4 ++-- Views/MorePage.xaml.cs | 4 ++-- Views/MyListPage.xaml | 4 ++-- Views/MyListPage.xaml.cs | 4 ++-- Views/MyRecipesPage.xaml | 4 ++-- Views/MyRecipesPage.xaml.cs | 4 ++-- Views/ProfilePage.xaml | 2 +- Views/ProfilePage.xaml.cs | 2 +- Views/RecipePage.xaml | 4 ++-- Views/RecipePage.xaml.cs | 4 ++-- Views/RegisterPage.xaml | 2 +- Views/RegisterPage.xaml.cs | 4 ++-- Views/SearchPage.xaml | 4 ++-- Views/SearchPage.xaml.cs | 4 ++-- Views/Splash.xaml | 2 +- Views/Splash.xaml.cs | 2 +- documentation/diagrammes/FinalDiagram.svg | 2 +- 68 files changed, 95 insertions(+), 98 deletions(-) rename ShoopNCook.csproj => ShopNCook.csproj (96%) rename ShoopNCook.sln => ShopNCook.sln (94%) diff --git a/App.xaml b/App.xaml index 37abc6c..0bfca64 100644 --- a/App.xaml +++ b/App.xaml @@ -1,8 +1,8 @@  + xmlns:local="clr-namespace:ShopNCook" + x:Class="ShopNCook.App"> diff --git a/App.xaml.cs b/App.xaml.cs index 4e4d06b..09846c3 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -1,4 +1,4 @@ -namespace ShoopNCook; +namespace ShopNCook; using Models; using Services; using LocalServices; diff --git a/ConnectAppShell.xaml b/ConnectAppShell.xaml index 6fb0bb9..dba2a08 100644 --- a/ConnectAppShell.xaml +++ b/ConnectAppShell.xaml @@ -1,9 +1,9 @@ - + maui-appicon-placeholder diff --git a/Platforms/Windows/App.xaml b/Platforms/Windows/App.xaml index 814288c..a8c87f9 100644 --- a/Platforms/Windows/App.xaml +++ b/Platforms/Windows/App.xaml @@ -1,8 +1,8 @@  + xmlns:local="using:ShopNCook.WinUI"> diff --git a/Platforms/Windows/App.xaml.cs b/Platforms/Windows/App.xaml.cs index 4998dd0..7102eb7 100644 --- a/Platforms/Windows/App.xaml.cs +++ b/Platforms/Windows/App.xaml.cs @@ -3,7 +3,7 @@ // To learn more about WinUI, the WinUI project structure, // and more about our project templates, see: http://aka.ms/winui-project-info. -namespace ShoopNCook.WinUI; +namespace ShopNCook.WinUI; /// /// Provides application-specific behavior to supplement the default Application class. diff --git a/Platforms/Windows/app.manifest b/Platforms/Windows/app.manifest index b4cc90e..8351146 100644 --- a/Platforms/Windows/app.manifest +++ b/Platforms/Windows/app.manifest @@ -1,6 +1,6 @@ - + diff --git a/Platforms/iOS/AppDelegate.cs b/Platforms/iOS/AppDelegate.cs index dd29f88..8173627 100644 --- a/Platforms/iOS/AppDelegate.cs +++ b/Platforms/iOS/AppDelegate.cs @@ -1,6 +1,6 @@ using Foundation; -namespace ShoopNCook; +namespace ShopNCook; [Register("AppDelegate")] public class AppDelegate : MauiUIApplicationDelegate diff --git a/Platforms/iOS/Program.cs b/Platforms/iOS/Program.cs index c1f9f79..b834427 100644 --- a/Platforms/iOS/Program.cs +++ b/Platforms/iOS/Program.cs @@ -1,7 +1,7 @@ using ObjCRuntime; using UIKit; -namespace ShoopNCook; +namespace ShopNCook; public class Program { diff --git a/ShoopNCook.csproj b/ShopNCook.csproj similarity index 96% rename from ShoopNCook.csproj rename to ShopNCook.csproj index 1310c37..0625b03 100644 --- a/ShoopNCook.csproj +++ b/ShopNCook.csproj @@ -47,7 +47,6 @@ - @@ -59,7 +58,6 @@ - diff --git a/ShoopNCook.sln b/ShopNCook.sln similarity index 94% rename from ShoopNCook.sln rename to ShopNCook.sln index 17d11be..a85a8b3 100644 --- a/ShoopNCook.sln +++ b/ShopNCook.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31611.283 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShoopNCook", "ShoopNCook.csproj", "{8ED2FB1D-C04D-478D-9271-CC91FE110396}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShopNCook", "ShopNCook.csproj", "{8ED2FB1D-C04D-478D-9271-CC91FE110396}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests.csproj", "{E50D92DC-0BB1-4998-B085-EF47C55675AC}" EndProject diff --git a/UserNotifier.cs b/UserNotifier.cs index 8432fc8..61e420b 100644 --- a/UserNotifier.cs +++ b/UserNotifier.cs @@ -2,7 +2,7 @@ using CommunityToolkit.Maui.Core; -namespace ShoopNCook +namespace ShopNCook { internal class UserNotifier { diff --git a/Views/Components/CounterView.xaml b/Views/Components/CounterView.xaml index 606adcf..0afbc27 100644 --- a/Views/Components/CounterView.xaml +++ b/Views/Components/CounterView.xaml @@ -1,7 +1,7 @@ diff --git a/Views/Components/CounterView.xaml.cs b/Views/Components/CounterView.xaml.cs index 1cefd44..a58602a 100644 --- a/Views/Components/CounterView.xaml.cs +++ b/Views/Components/CounterView.xaml.cs @@ -1,4 +1,4 @@ -namespace ShoopNCook.Views; +namespace ShopNCook.Views; public partial class CounterView : ContentView { diff --git a/Views/Components/HeadedButton.xaml b/Views/Components/HeadedButton.xaml index f3e7442..7e2b77c 100644 --- a/Views/Components/HeadedButton.xaml +++ b/Views/Components/HeadedButton.xaml @@ -1,7 +1,7 @@ + x:Class="ShopNCook.Views.IngredientEntry"> diff --git a/Views/Components/IngredientView.xaml.cs b/Views/Components/IngredientView.xaml.cs index 1edfcfd..53185db 100644 --- a/Views/Components/IngredientView.xaml.cs +++ b/Views/Components/IngredientView.xaml.cs @@ -1,6 +1,6 @@ using Models; -namespace ShoopNCook.Views; +namespace ShopNCook.Views; // Classe représentant une vue d'ingrédient public partial class IngredientView : ContentView diff --git a/Views/Components/OwnedRecipeView.xaml b/Views/Components/OwnedRecipeView.xaml index 7e500f8..b4fea0c 100644 --- a/Views/Components/OwnedRecipeView.xaml +++ b/Views/Components/OwnedRecipeView.xaml @@ -1,7 +1,7 @@ + x:Class="ShopNCook.Views.StepEntry">