Skip to content

Commit

Permalink
Rename namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
erri120 committed Jul 18, 2024
1 parent 70ed342 commit cbdfb94
Show file tree
Hide file tree
Showing 31 changed files with 30 additions and 40 deletions.
2 changes: 1 addition & 1 deletion NexusMods.App.sln
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Interprocess", "Interproces
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Settings.Tests", "tests\NexusMods.Settings.Tests\NexusMods.Settings.Tests.csproj", "{0D289DCE-1B17-4B63-B8B3-47CB852BF5B4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Abstractions.LibraryModels", "src\Abstractions\NexusMods.Abstractions.LibraryModels\NexusMods.Abstractions.LibraryModels.csproj", "{0044D340-E435-489C-A425-139AAB2EA205}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Abstractions.Library.Models", "src\Abstractions\NexusMods.Abstractions.Library.Models\NexusMods.Abstractions.Library.Models.csproj", "{0044D340-E435-489C-A425-139AAB2EA205}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Abstractions.NexusModsLibrary", "src\Abstractions\NexusMods.Abstractions.NexusModsLibrary\NexusMods.Abstractions.NexusModsLibrary.csproj", "{5D85EBB2-755F-4148-BFC4-8D2245A3105B}"
EndProject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;

namespace NexusMods.Abstractions.LibraryModels;
namespace NexusMods.Abstractions.Library.Models;

/// <summary>
/// Represents an archive in the library.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.MnemonicDB.Attributes;
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;

namespace NexusMods.Abstractions.LibraryModels;
namespace NexusMods.Abstractions.Library.Models;

/// <summary>
/// Represents a file inside a library archive.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using NexusMods.Abstractions.MnemonicDB.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;

namespace NexusMods.Abstractions.LibraryModels;
namespace NexusMods.Abstractions.Library.Models;

/// <summary>
/// Represents a <see cref="LibraryItem"/> that is a file in the library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;

namespace NexusMods.Abstractions.LibraryModels;
namespace NexusMods.Abstractions.Library.Models;

/// <summary>
/// Represents an item in the library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;

namespace NexusMods.Abstractions.LibraryModels;
namespace NexusMods.Abstractions.Library.Models;

/// <summary>
/// Represents a local file in the library.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
using NexusMods.Abstractions.MnemonicDB.Attributes;

namespace NexusMods.Abstractions.LibraryModels;
namespace NexusMods.Abstractions.Library.Models;

/// <summary>
/// Extension methods.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.Downloads;
using NexusMods.Abstractions.Jobs;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Loadouts;
using NexusMods.Paths;
using LibraryItem = NexusMods.Abstractions.Library.Models.LibraryItem;

namespace NexusMods.Abstractions.Library;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<ItemGroup>
<ProjectReference Include="..\NexusMods.Abstractions.Downloads\NexusMods.Abstractions.Downloads.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.LibraryModels\NexusMods.Abstractions.LibraryModels.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.Library.Models\NexusMods.Abstractions.Library.Models.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.Loadouts\NexusMods.Abstractions.Loadouts.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.MnemonicDB.Attributes;
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;
Expand Down Expand Up @@ -37,9 +37,4 @@ public partial class LoadoutItem : IModelDefinition
/// Optional parent of the item.
/// </summary>
public static readonly ReferenceAttribute<LoadoutItemGroup> Parent = new(Namespace, nameof(Parent)) { IsIndexed = true, IsOptional = true };

/// <summary>
/// Optional source of the item.
/// </summary>
public static readonly ReferenceAttribute<LibraryItem> Source = new(Namespace, nameof(Source)) { IsIndexed = true, IsOptional = true };
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ProjectReference Include="..\NexusMods.Abstractions.Activities\NexusMods.Abstractions.Activities.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.FileStore\NexusMods.Abstractions.FileStore.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.GameLocators\NexusMods.Abstractions.GameLocators.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.LibraryModels\NexusMods.Abstractions.LibraryModels.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.Library.Models\NexusMods.Abstractions.Library.Models.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.Serialization\NexusMods.Abstractions.Serialization.csproj" />
<PackageReference Include="FlatSharp.Compiler">
<PrivateAssets>all</PrivateAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ItemGroup>
<ProjectReference Include="..\NexusMods.Abstractions.Downloads\NexusMods.Abstractions.Downloads.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.HttpDownloads\NexusMods.Abstractions.HttpDownloads.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.LibraryModels\NexusMods.Abstractions.LibraryModels.csproj" />
<ProjectReference Include="..\NexusMods.Abstractions.Library.Models\NexusMods.Abstractions.Library.Models.csproj" />
<PackageReference Include="TransparentValueObjects" PrivateAssets="all" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<PackageReference Include="NexusMods.MnemonicDB.SourceGenerator" PrivateAssets="all" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\NexusMods.Abstractions.NexusWebApi\NexusMods.Abstractions.NexusWebApi.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using JetBrains.Annotations;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.Models;

Expand Down
2 changes: 1 addition & 1 deletion src/NexusMods.App/Services.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NexusMods.Abstractions.FileStore;
using NexusMods.Abstractions.Games;
using NexusMods.Abstractions.Installers;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.Abstractions.Serialization;
using NexusMods.Abstractions.Settings;
Expand Down
4 changes: 1 addition & 3 deletions src/NexusMods.DataModel/ArchiveInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@
using Microsoft.Extensions.Logging;
using NexusMods.Abstractions.Activities;
using NexusMods.Abstractions.FileStore;
using NexusMods.Abstractions.FileStore.ArchiveMetadata;
using NexusMods.Abstractions.FileStore.Downloads;
using NexusMods.Abstractions.Games;
using NexusMods.Abstractions.Installers;
using NexusMods.Abstractions.IO;
using NexusMods.Abstractions.Library;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Loadouts;
using NexusMods.Abstractions.Loadouts.Ids;
using NexusMods.Abstractions.Loadouts.Mods;
using NexusMods.App.BuildInfo;
using NexusMods.Extensions.BCL;
using NexusMods.Hashing.xxHash64;
using NexusMods.MnemonicDB.Abstractions;
using File = NexusMods.Abstractions.Loadouts.Files.File;
using LibraryFile = NexusMods.Abstractions.Library.Models.LibraryFile;

namespace NexusMods.DataModel;

Expand Down
2 changes: 1 addition & 1 deletion src/NexusMods.Library/AddLibraryFileJob.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamicData.Kernel;
using NexusMods.Abstractions.Jobs;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.MnemonicDB.Abstractions;
using NexusMods.Paths;

Expand Down
2 changes: 1 addition & 1 deletion src/NexusMods.Library/AddLibraryFileJobWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using NexusMods.Abstractions.IO;
using NexusMods.Abstractions.IO.StreamFactories;
using NexusMods.Abstractions.Jobs;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Hashing.xxHash64;
using NexusMods.MnemonicDB.Abstractions;
using NexusMods.Paths;
Expand Down
2 changes: 1 addition & 1 deletion src/NexusMods.Library/AddLocalFileJobWorker.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
using NexusMods.Abstractions.Jobs;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;

namespace NexusMods.Library;

Expand Down
2 changes: 1 addition & 1 deletion src/NexusMods.Library/InstallLoadoutItemJob.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using DynamicData.Kernel;
using NexusMods.Abstractions.Installers;
using NexusMods.Abstractions.Jobs;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;

Expand Down
2 changes: 1 addition & 1 deletion src/NexusMods.Library/LibraryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NexusMods.Abstractions.Downloads;
using NexusMods.Abstractions.Jobs;
using NexusMods.Abstractions.Library;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.MnemonicDB.Abstractions;
using NexusMods.Paths;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NexusMods.Abstractions.Activities;
using NexusMods.Abstractions.HttpDownloader;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts.Synchronizers;
using NexusMods.Abstractions.Settings;
using NexusMods.Activities;
Expand Down
2 changes: 1 addition & 1 deletion tests/NexusMods.CLI.Tests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NexusMods.Abstractions.FileStore;
using NexusMods.Abstractions.Games;
using NexusMods.Abstractions.Installers;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.Abstractions.Serialization;
using NexusMods.Abstractions.Settings;
Expand Down
2 changes: 1 addition & 1 deletion tests/NexusMods.DataModel.Tests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NexusMods.Abstractions.Games;
using NexusMods.Abstractions.GuidedInstallers;
using NexusMods.Abstractions.Installers;
using NexusMods.Abstractions.LibraryModels;
using NexusMods.Abstractions.Library.Models;
using NexusMods.Abstractions.Loadouts;
using NexusMods.Abstractions.Serialization;
using NexusMods.Abstractions.Serialization.ExpressionGenerator;
Expand Down

0 comments on commit cbdfb94

Please sign in to comment.