feat!: switching namespaces
This commit is contained in:
parent
82d3b5422f
commit
0094fd7b3b
23 changed files with 79 additions and 79 deletions
|
@ -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
|
|
@ -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.
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Gallium
|
||||
namespace MfGames.Gallium
|
||||
{
|
||||
public static class JoinEntityExtensions
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Gallium;
|
||||
namespace MfGames.Gallium;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for selecting components from a list.
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Gallium;
|
||||
namespace MfGames.Gallium;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for selecting components from a list.
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Gallium
|
||||
namespace MfGames.Gallium
|
||||
{
|
||||
public static class SelectEntityExtensions
|
||||
{
|
|
@ -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
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Gallium;
|
||||
namespace MfGames.Gallium;
|
||||
|
||||
public record SplitEntityEnumerations(
|
||||
IEnumerable<Entity> HasAll,
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Gallium;
|
||||
namespace MfGames.Gallium;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for IEnumerable<Entity> that split the entity into two
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Gallium
|
||||
namespace MfGames.Gallium
|
||||
{
|
||||
public static class WhereEntityExtensions
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Gallium
|
||||
namespace MfGames.Gallium
|
||||
{
|
||||
public static class WhereEntityHasExtensions
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Gallium
|
||||
namespace MfGames.Gallium
|
||||
{
|
||||
public static class WhereEntityNotHasExtensions
|
||||
{
|
|
@ -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);
|
||||
}
|
|
@ -2,7 +2,7 @@ using System.Linq;
|
|||
|
||||
using Xunit;
|
||||
|
||||
namespace Gallium.Tests
|
||||
namespace MfGames.Gallium.Tests
|
||||
{
|
||||
public class EnumerableEntityTests
|
||||
{
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
namespace Gallium.Tests
|
||||
namespace MfGames.Gallium.Tests
|
||||
{
|
||||
public interface ITestComponent3
|
||||
{
|
|
@ -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>
|
|
@ -1,4 +1,4 @@
|
|||
namespace Gallium.Tests
|
||||
namespace MfGames.Gallium.Tests
|
||||
{
|
||||
public class TestComponent1
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Gallium.Tests
|
||||
namespace MfGames.Gallium.Tests
|
||||
{
|
||||
public class TestComponent2
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Gallium.Tests
|
||||
namespace MfGames.Gallium.Tests
|
||||
{
|
||||
public class TestComponent3a : ITestComponent3
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Gallium.Tests
|
||||
namespace MfGames.Gallium.Tests
|
||||
{
|
||||
public class TestComponent3b : ITestComponent3
|
||||
{
|
Reference in a new issue