feat!: switching namespaces
This commit is contained in:
parent
82d3b5422f
commit
0094fd7b3b
23 changed files with 79 additions and 79 deletions
|
@ -1,56 +1,56 @@
|
||||||
|
|
||||||
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
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
Debug|x64 = Debug|x64
|
Debug|x64 = Debug|x64
|
||||||
Debug|x86 = Debug|x86
|
Debug|x86 = Debug|x86
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
Release|x64 = Release|x64
|
Release|x64 = Release|x64
|
||||||
Release|x86 = Release|x86
|
Release|x86 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x64.Build.0 = Debug|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x86.Build.0 = Debug|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|Any CPU.Build.0 = Release|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x64.ActiveCfg = Release|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x64.Build.0 = Release|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x86.ActiveCfg = Release|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x86.Build.0 = Release|Any CPU
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x64.Build.0 = Debug|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x86.Build.0 = Debug|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|Any CPU.Build.0 = Release|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x64.ActiveCfg = Release|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x64.Build.0 = Release|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x86.ActiveCfg = Release|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x86.Build.0 = Release|Any CPU
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(NestedProjects) = preSolution
|
GlobalSection(NestedProjects) = preSolution
|
||||||
{940230CF-253F-4DA2-95FA-9DFB77089D4F} = {4C5CBAB6-6400-4C7C-B192-B28F07DD722B}
|
{940230CF-253F-4DA2-95FA-9DFB77089D4F} = {4C5CBAB6-6400-4C7C-B192-B28F07DD722B}
|
||||||
{ED19E18C-CA29-4388-98AB-695DF2E645FB} = {8A72C51E-BE32-4724-AF64-C9F2E6CB22E8}
|
{ED19E18C-CA29-4388-98AB-695DF2E645FB} = {8A72C51E-BE32-4724-AF64-C9F2E6CB22E8}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
|
@ -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.
|
|
@ -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
|
||||||
{
|
{
|
|
@ -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.
|
|
@ -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.
|
|
@ -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
|
||||||
{
|
{
|
|
@ -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
|
|
@ -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,
|
|
@ -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<Entity> that split the entity into two
|
/// Extension methods for IEnumerable<Entity> that split the entity into two
|
|
@ -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
|
||||||
{
|
{
|
|
@ -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
|
||||||
{
|
{
|
|
@ -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
|
||||||
{
|
{
|
|
@ -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);
|
||||||
}
|
}
|
|
@ -2,7 +2,7 @@ using System.Linq;
|
||||||
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Gallium.Tests
|
namespace MfGames.Gallium.Tests
|
||||||
{
|
{
|
||||||
public class EnumerableEntityTests
|
public class EnumerableEntityTests
|
||||||
{
|
{
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Gallium.Tests
|
namespace MfGames.Gallium.Tests
|
||||||
{
|
{
|
||||||
public interface ITestComponent3
|
public interface ITestComponent3
|
||||||
{
|
{
|
|
@ -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>
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Gallium.Tests
|
namespace MfGames.Gallium.Tests
|
||||||
{
|
{
|
||||||
public class TestComponent1
|
public class TestComponent1
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Gallium.Tests
|
namespace MfGames.Gallium.Tests
|
||||||
{
|
{
|
||||||
public class TestComponent2
|
public class TestComponent2
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Gallium.Tests
|
namespace MfGames.Gallium.Tests
|
||||||
{
|
{
|
||||||
public class TestComponent3a : ITestComponent3
|
public class TestComponent3a : ITestComponent3
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Gallium.Tests
|
namespace MfGames.Gallium.Tests
|
||||||
{
|
{
|
||||||
public class TestComponent3b : ITestComponent3
|
public class TestComponent3b : ITestComponent3
|
||||||
{
|
{
|
Reference in a new issue