From 441736f044688b1a93136c44bd8dd5d6d5a0ca7d Mon Sep 17 00:00:00 2001 From: erri120 Date: Thu, 18 Jul 2024 17:06:11 +0200 Subject: [PATCH] Rename namespace --- NexusMods.App.sln | 7 ++++++ .../NexusMods.Abstractions.Games/AGame.cs | 1 + .../NexusMods.Abstractions.Games/IGame.cs | 1 + .../NexusMods.Abstractions.Games.csproj | 1 + .../NexusMods.Abstractions.Installers.csproj | 15 ------------ .../ALibraryArchiveInstaller.cs | 2 +- .../ALibraryFileInstaller.cs | 2 +- .../ALibraryItemInstaller.cs | 2 +- .../ILibraryArchiveInstaller.cs | 2 +- .../ILibraryFileInstaller.cs | 2 +- .../ILibraryItemInstaller.cs | 2 +- ...ods.Abstractions.Library.Installers.csproj | 23 +++++++++++++++++++ .../InstallLoadoutItemJob.cs | 2 +- .../InstallLoadoutItemJobWorker.cs | 1 + .../Unknown/UnknownGame.cs | 1 + 15 files changed, 42 insertions(+), 22 deletions(-) rename src/Abstractions/{NexusMods.Abstractions.Installers => NexusMods.Abstractions.Library.Installers}/ALibraryArchiveInstaller.cs (97%) rename src/Abstractions/{NexusMods.Abstractions.Installers => NexusMods.Abstractions.Library.Installers}/ALibraryFileInstaller.cs (97%) rename src/Abstractions/{NexusMods.Abstractions.Installers => NexusMods.Abstractions.Library.Installers}/ALibraryItemInstaller.cs (95%) rename src/Abstractions/{NexusMods.Abstractions.Installers => NexusMods.Abstractions.Library.Installers}/ILibraryArchiveInstaller.cs (94%) rename src/Abstractions/{NexusMods.Abstractions.Installers => NexusMods.Abstractions.Library.Installers}/ILibraryFileInstaller.cs (94%) rename src/Abstractions/{NexusMods.Abstractions.Installers => NexusMods.Abstractions.Library.Installers}/ILibraryItemInstaller.cs (93%) create mode 100644 src/Abstractions/NexusMods.Abstractions.Library.Installers/NexusMods.Abstractions.Library.Installers.csproj diff --git a/NexusMods.App.sln b/NexusMods.App.sln index 157f69d140..53661c13bd 100644 --- a/NexusMods.App.sln +++ b/NexusMods.App.sln @@ -232,6 +232,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Abstractions.Libr EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Jobs", "src\NexusMods.Jobs\NexusMods.Jobs.csproj", "{44E6BD8A-7A82-49CC-91FA-AF3B3E5FBEE9}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Abstractions.Library.Installers", "src\Abstractions\NexusMods.Abstractions.Library.Installers\NexusMods.Abstractions.Library.Installers.csproj", "{F6482055-698C-492A-9FC2-0FCDC9FC2E23}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -598,6 +600,10 @@ Global {44E6BD8A-7A82-49CC-91FA-AF3B3E5FBEE9}.Debug|Any CPU.Build.0 = Debug|Any CPU {44E6BD8A-7A82-49CC-91FA-AF3B3E5FBEE9}.Release|Any CPU.ActiveCfg = Release|Any CPU {44E6BD8A-7A82-49CC-91FA-AF3B3E5FBEE9}.Release|Any CPU.Build.0 = Release|Any CPU + {F6482055-698C-492A-9FC2-0FCDC9FC2E23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F6482055-698C-492A-9FC2-0FCDC9FC2E23}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F6482055-698C-492A-9FC2-0FCDC9FC2E23}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F6482055-698C-492A-9FC2-0FCDC9FC2E23}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -704,6 +710,7 @@ Global {01043F6A-121B-4B3C-A694-B823D9CD0BB0} = {52AF9D62-7D5B-4AD0-BA12-86F2AA67428B} {C47C59F4-1C6C-4F78-9A27-F328F1C02BF0} = {0CB73565-1207-4A56-A79F-6A8E9BBD795C} {44E6BD8A-7A82-49CC-91FA-AF3B3E5FBEE9} = {E7BAE287-D505-4D6D-A090-665A64309B2D} + {F6482055-698C-492A-9FC2-0FCDC9FC2E23} = {0CB73565-1207-4A56-A79F-6A8E9BBD795C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {9F9F8352-34DD-42C0-8564-EE9AF34A3501} diff --git a/src/Abstractions/NexusMods.Abstractions.Games/AGame.cs b/src/Abstractions/NexusMods.Abstractions.Games/AGame.cs index 99ffe5e7dd..1263b63f28 100644 --- a/src/Abstractions/NexusMods.Abstractions.Games/AGame.cs +++ b/src/Abstractions/NexusMods.Abstractions.Games/AGame.cs @@ -7,6 +7,7 @@ using NexusMods.Abstractions.Games.Loadouts; using NexusMods.Abstractions.Installers; using NexusMods.Abstractions.IO; +using NexusMods.Abstractions.Library.Installers; using NexusMods.Abstractions.Loadouts.Mods; using NexusMods.Abstractions.Loadouts.Synchronizers; using NexusMods.Abstractions.Serialization; diff --git a/src/Abstractions/NexusMods.Abstractions.Games/IGame.cs b/src/Abstractions/NexusMods.Abstractions.Games/IGame.cs index cc8cb0abbf..92023f7625 100644 --- a/src/Abstractions/NexusMods.Abstractions.Games/IGame.cs +++ b/src/Abstractions/NexusMods.Abstractions.Games/IGame.cs @@ -2,6 +2,7 @@ using NexusMods.Abstractions.GameLocators; using NexusMods.Abstractions.Installers; using NexusMods.Abstractions.IO; +using NexusMods.Abstractions.Library.Installers; using NexusMods.Abstractions.Loadouts.Mods; using NexusMods.Abstractions.Loadouts.Synchronizers; using NexusMods.Abstractions.Serialization; diff --git a/src/Abstractions/NexusMods.Abstractions.Games/NexusMods.Abstractions.Games.csproj b/src/Abstractions/NexusMods.Abstractions.Games/NexusMods.Abstractions.Games.csproj index d16acbb31a..161b992b82 100644 --- a/src/Abstractions/NexusMods.Abstractions.Games/NexusMods.Abstractions.Games.csproj +++ b/src/Abstractions/NexusMods.Abstractions.Games/NexusMods.Abstractions.Games.csproj @@ -24,6 +24,7 @@ + diff --git a/src/Abstractions/NexusMods.Abstractions.Installers/NexusMods.Abstractions.Installers.csproj b/src/Abstractions/NexusMods.Abstractions.Installers/NexusMods.Abstractions.Installers.csproj index 77ce4fe2cc..fa3af61b3d 100644 --- a/src/Abstractions/NexusMods.Abstractions.Installers/NexusMods.Abstractions.Installers.csproj +++ b/src/Abstractions/NexusMods.Abstractions.Installers/NexusMods.Abstractions.Installers.csproj @@ -15,21 +15,6 @@ - - ILibraryItemInstaller.cs - - - ILibraryItemInstaller.cs - - - ILibraryItemInstaller.cs - - - ILibraryFileInstaller.cs - - - ILibraryArchiveInstaller.cs - IModInstaller.cs diff --git a/src/Abstractions/NexusMods.Abstractions.Installers/ALibraryArchiveInstaller.cs b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryArchiveInstaller.cs similarity index 97% rename from src/Abstractions/NexusMods.Abstractions.Installers/ALibraryArchiveInstaller.cs rename to src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryArchiveInstaller.cs index b2de14ccb2..e93d9ed50e 100644 --- a/src/Abstractions/NexusMods.Abstractions.Installers/ALibraryArchiveInstaller.cs +++ b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryArchiveInstaller.cs @@ -4,7 +4,7 @@ using NexusMods.Abstractions.Loadouts; using NexusMods.MnemonicDB.Abstractions; -namespace NexusMods.Abstractions.Installers; +namespace NexusMods.Abstractions.Library.Installers; /// /// Base implementation of . diff --git a/src/Abstractions/NexusMods.Abstractions.Installers/ALibraryFileInstaller.cs b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryFileInstaller.cs similarity index 97% rename from src/Abstractions/NexusMods.Abstractions.Installers/ALibraryFileInstaller.cs rename to src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryFileInstaller.cs index 9499adbb53..1eb1014ec9 100644 --- a/src/Abstractions/NexusMods.Abstractions.Installers/ALibraryFileInstaller.cs +++ b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryFileInstaller.cs @@ -4,7 +4,7 @@ using NexusMods.Abstractions.Loadouts; using NexusMods.MnemonicDB.Abstractions; -namespace NexusMods.Abstractions.Installers; +namespace NexusMods.Abstractions.Library.Installers; /// /// Base implementation of . diff --git a/src/Abstractions/NexusMods.Abstractions.Installers/ALibraryItemInstaller.cs b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryItemInstaller.cs similarity index 95% rename from src/Abstractions/NexusMods.Abstractions.Installers/ALibraryItemInstaller.cs rename to src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryItemInstaller.cs index 944462fc04..3bd3e49755 100644 --- a/src/Abstractions/NexusMods.Abstractions.Installers/ALibraryItemInstaller.cs +++ b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ALibraryItemInstaller.cs @@ -4,7 +4,7 @@ using NexusMods.Abstractions.Loadouts; using NexusMods.MnemonicDB.Abstractions; -namespace NexusMods.Abstractions.Installers; +namespace NexusMods.Abstractions.Library.Installers; /// /// Base implementation of . diff --git a/src/Abstractions/NexusMods.Abstractions.Installers/ILibraryArchiveInstaller.cs b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryArchiveInstaller.cs similarity index 94% rename from src/Abstractions/NexusMods.Abstractions.Installers/ILibraryArchiveInstaller.cs rename to src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryArchiveInstaller.cs index 3c3e054bf8..0d2f4a6fdd 100644 --- a/src/Abstractions/NexusMods.Abstractions.Installers/ILibraryArchiveInstaller.cs +++ b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryArchiveInstaller.cs @@ -3,7 +3,7 @@ using NexusMods.Abstractions.Loadouts; using NexusMods.MnemonicDB.Abstractions; -namespace NexusMods.Abstractions.Installers; +namespace NexusMods.Abstractions.Library.Installers; /// /// Variant of for diff --git a/src/Abstractions/NexusMods.Abstractions.Installers/ILibraryFileInstaller.cs b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryFileInstaller.cs similarity index 94% rename from src/Abstractions/NexusMods.Abstractions.Installers/ILibraryFileInstaller.cs rename to src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryFileInstaller.cs index 691b1e6555..14d85f606b 100644 --- a/src/Abstractions/NexusMods.Abstractions.Installers/ILibraryFileInstaller.cs +++ b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryFileInstaller.cs @@ -3,7 +3,7 @@ using NexusMods.Abstractions.Loadouts; using NexusMods.MnemonicDB.Abstractions; -namespace NexusMods.Abstractions.Installers; +namespace NexusMods.Abstractions.Library.Installers; /// /// Variant of for . diff --git a/src/Abstractions/NexusMods.Abstractions.Installers/ILibraryItemInstaller.cs b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryItemInstaller.cs similarity index 93% rename from src/Abstractions/NexusMods.Abstractions.Installers/ILibraryItemInstaller.cs rename to src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryItemInstaller.cs index 10a5c0c018..d7f2020116 100644 --- a/src/Abstractions/NexusMods.Abstractions.Installers/ILibraryItemInstaller.cs +++ b/src/Abstractions/NexusMods.Abstractions.Library.Installers/ILibraryItemInstaller.cs @@ -3,7 +3,7 @@ using NexusMods.Abstractions.Loadouts; using NexusMods.MnemonicDB.Abstractions; -namespace NexusMods.Abstractions.Installers; +namespace NexusMods.Abstractions.Library.Installers; /// /// Turns into . diff --git a/src/Abstractions/NexusMods.Abstractions.Library.Installers/NexusMods.Abstractions.Library.Installers.csproj b/src/Abstractions/NexusMods.Abstractions.Library.Installers/NexusMods.Abstractions.Library.Installers.csproj new file mode 100644 index 0000000000..c87c227886 --- /dev/null +++ b/src/Abstractions/NexusMods.Abstractions.Library.Installers/NexusMods.Abstractions.Library.Installers.csproj @@ -0,0 +1,23 @@ + + + + + + + + + + + + + ILibraryArchiveInstaller.cs + + + ILibraryFileInstaller.cs + + + ILibraryItemInstaller.cs + + + + diff --git a/src/NexusMods.Library/InstallLoadoutItemJob.cs b/src/NexusMods.Library/InstallLoadoutItemJob.cs index 864c312f29..d1de69bd56 100644 --- a/src/NexusMods.Library/InstallLoadoutItemJob.cs +++ b/src/NexusMods.Library/InstallLoadoutItemJob.cs @@ -1,6 +1,6 @@ using DynamicData.Kernel; -using NexusMods.Abstractions.Installers; using NexusMods.Abstractions.Jobs; +using NexusMods.Abstractions.Library.Installers; using NexusMods.Abstractions.Library.Models; using NexusMods.Abstractions.Loadouts; using NexusMods.MnemonicDB.Abstractions; diff --git a/src/NexusMods.Library/InstallLoadoutItemJobWorker.cs b/src/NexusMods.Library/InstallLoadoutItemJobWorker.cs index d2daac10aa..1d5f48635c 100644 --- a/src/NexusMods.Library/InstallLoadoutItemJobWorker.cs +++ b/src/NexusMods.Library/InstallLoadoutItemJobWorker.cs @@ -5,6 +5,7 @@ using NexusMods.Abstractions.Games; using NexusMods.Abstractions.Installers; using NexusMods.Abstractions.Jobs; +using NexusMods.Abstractions.Library.Installers; using NexusMods.Abstractions.Loadouts; namespace NexusMods.Library; diff --git a/src/NexusMods.StandardGameLocators/Unknown/UnknownGame.cs b/src/NexusMods.StandardGameLocators/Unknown/UnknownGame.cs index ca8a7f2cc4..b77d96f656 100644 --- a/src/NexusMods.StandardGameLocators/Unknown/UnknownGame.cs +++ b/src/NexusMods.StandardGameLocators/Unknown/UnknownGame.cs @@ -4,6 +4,7 @@ using NexusMods.Abstractions.Games.DTO; using NexusMods.Abstractions.Installers; using NexusMods.Abstractions.IO; +using NexusMods.Abstractions.Library.Installers; using NexusMods.Abstractions.Loadouts.Mods; using NexusMods.Abstractions.Loadouts.Synchronizers; using NexusMods.Abstractions.Serialization;