feat!: switching namespaces

This commit is contained in:
D. Moonfire 2022-09-06 00:20:05 -05:00
parent 82d3b5422f
commit 0094fd7b3b
23 changed files with 79 additions and 79 deletions

View File

@ -1,15 +1,15 @@

Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15 # Visual Studio 15
VisualStudioVersion = 15.0.26124.0 VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0 MinimumVisualStudioVersion = 15.0.26124.0
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4C5CBAB6-6400-4C7C-B192-B28F07DD722B}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4C5CBAB6-6400-4C7C-B192-B28F07DD722B}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gallium", "src\Gallium\Gallium.csproj", "{940230CF-253F-4DA2-95FA-9DFB77089D4F}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MfGames.Gallium", "src\MfGames.Gallium\MfGames.Gallium.csproj", "{940230CF-253F-4DA2-95FA-9DFB77089D4F}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{8A72C51E-BE32-4724-AF64-C9F2E6CB22E8}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{8A72C51E-BE32-4724-AF64-C9F2E6CB22E8}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gallium.Tests", "tests\Gallium.Tests\Gallium.Tests.csproj", "{ED19E18C-CA29-4388-98AB-695DF2E645FB}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MfGames.Gallium.Tests", "tests\MfGames.Gallium.Tests\MfGames.Gallium.Tests.csproj", "{ED19E18C-CA29-4388-98AB-695DF2E645FB}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Threading; using System.Threading;
namespace Gallium namespace MfGames.Gallium
{ {
/// <summary> /// <summary>
/// A low-overhead entity with identification. /// A low-overhead entity with identification.

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Gallium namespace MfGames.Gallium
{ {
public static class JoinEntityExtensions public static class JoinEntityExtensions
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Gallium; namespace MfGames.Gallium;
/// <summary> /// <summary>
/// Extension methods for selecting components from a list. /// Extension methods for selecting components from a list.

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Gallium; namespace MfGames.Gallium;
/// <summary> /// <summary>
/// Extension methods for selecting components from a list. /// Extension methods for selecting components from a list.

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Gallium namespace MfGames.Gallium
{ {
public static class SelectEntityExtensions public static class SelectEntityExtensions
{ {

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Gallium; namespace MfGames.Gallium;
/// <summary> /// <summary>
/// An extension method that handle SelectManyEntity which extracts all the /// An extension method that handle SelectManyEntity which extracts all the

View File

@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Gallium; namespace MfGames.Gallium;
public record SplitEntityEnumerations( public record SplitEntityEnumerations(
IEnumerable<Entity> HasAll, IEnumerable<Entity> HasAll,

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Gallium; namespace MfGames.Gallium;
/// <summary> /// <summary>
/// Extension methods for IEnumerable&lt;Entity&gt; that split the entity into two /// Extension methods for IEnumerable&lt;Entity&gt; that split the entity into two

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Gallium namespace MfGames.Gallium
{ {
public static class WhereEntityExtensions public static class WhereEntityExtensions
{ {

View File

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Gallium namespace MfGames.Gallium
{ {
public static class WhereEntityHasExtensions public static class WhereEntityHasExtensions
{ {

View File

@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Gallium namespace MfGames.Gallium
{ {
public static class WhereEntityNotHasExtensions public static class WhereEntityNotHasExtensions
{ {

View File

@ -3,7 +3,7 @@ using System;
using Xunit; using Xunit;
using Xunit.Abstractions; using Xunit.Abstractions;
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
public class EntityTests : GalliumTestsBase public class EntityTests : GalliumTestsBase
{ {
@ -47,7 +47,7 @@ namespace Gallium.Tests
Assert.Equal( Assert.Equal(
"An element with the same type " "An element with the same type "
+ "(Gallium.Tests.TestComponent1)" + "(MfGames.Gallium.Tests.TestComponent1)"
+ " already exists. (Parameter 'component')", + " already exists. (Parameter 'component')",
exception.Message); exception.Message);
} }

View File

@ -2,7 +2,7 @@ using System.Linq;
using Xunit; using Xunit;
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
public class EnumerableEntityTests public class EnumerableEntityTests
{ {

View File

@ -3,7 +3,7 @@ using Serilog.Core;
using Xunit.Abstractions; using Xunit.Abstractions;
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
/// <summary> /// <summary>
/// Common initialization logic for Gallium-based tests including setting /// Common initialization logic for Gallium-based tests including setting

View File

@ -1,4 +1,4 @@
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
public interface ITestComponent3 public interface ITestComponent3
{ {

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
@ -24,6 +24,6 @@
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\src\Gallium\Gallium.csproj" /> <ProjectReference Include="..\..\src\MfGames.Gallium\MfGames.Gallium.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -1,4 +1,4 @@
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
public class TestComponent1 public class TestComponent1
{ {

View File

@ -1,4 +1,4 @@
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
public class TestComponent2 public class TestComponent2
{ {

View File

@ -1,4 +1,4 @@
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
public class TestComponent3a : ITestComponent3 public class TestComponent3a : ITestComponent3
{ {

View File

@ -1,4 +1,4 @@
namespace Gallium.Tests namespace MfGames.Gallium.Tests
{ {
public class TestComponent3b : ITestComponent3 public class TestComponent3b : ITestComponent3
{ {