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
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4C5CBAB6-6400-4C7C-B192-B28F07DD722B}"
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
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{8A72C51E-BE32-4724-AF64-C9F2E6CB22E8}"
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
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
namespace Gallium;
namespace MfGames.Gallium;
/// <summary>
/// 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.Linq;
namespace Gallium
namespace MfGames.Gallium
{
public static class WhereEntityExtensions
{

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@ using Serilog.Core;
using Xunit.Abstractions;
namespace Gallium.Tests
namespace MfGames.Gallium.Tests
{
/// <summary>
/// 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
{

View File

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

View File

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

View File

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

View File

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

View File

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