Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename files, folders and namespaces to Fracture #29

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
dotnet csharpier --check .

- name: Restore Dependencies
run: dotnet restore Game.sln
run: dotnet restore Fracture.sln

- name: Build
run: dotnet build --no-restore Game.sln
run: dotnet build --no-restore Fracture.sln

- name: Find secrets
uses: trufflesecurity/trufflehog@main
Expand Down
102 changes: 51 additions & 51 deletions Game.sln → Fracture.sln

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions Game.Api/appsettings.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Game.AccountManagement.Application.Contracts.Queries;
using Fracture.AccountManagement.Application.Contracts.Queries;
using MediatR;
using Game.AccountManagement.Domain.Data.Entities;
using Fracture.AccountManagement.Domain.Data.Entities;

namespace Game.AccountManagement.Api.Controllers
namespace Fracture.AccountManagement.Api.Controllers
{
[ApiController]
[Route("/[controller]")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using Game.AccountManagement.Application;
using Game.AccountManagement.Infrastructure;
using Fracture.AccountManagement.Application;
using Fracture.AccountManagement.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game.AccountManagement.Api
namespace Fracture.AccountManagement.Api
{
public static class DependencyInjection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Game.AccountManagement.Application\Game.AccountManagement.Application.csproj" />
<ProjectReference Include="..\Game.AccountManagement.Infrastructure\Game.AccountManagement.Infrastructure.csproj" />
<ProjectReference Include="..\Fracture.AccountManagement.Application\Fracture.AccountManagement.Application.csproj" />
<ProjectReference Include="..\Fracture.AccountManagement.Infrastructure\Fracture.AccountManagement.Infrastructure.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Game.AccountManagement.Domain.Data.Entities;
using Fracture.AccountManagement.Domain.Data.Entities;
using MediatR;

namespace Game.AccountManagement.Application.Contracts.Queries
namespace Fracture.AccountManagement.Application.Contracts.Queries
{
public record GetAllAccountsQuery : IRequest<IEnumerable<Account>> { }
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Game.DialogManagement.Application
namespace Fracture.AccountManagement.Application
{
public static class DependencyInjection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\..\Shared\Game.Shared.Core\Game.Shared.Core.csproj" />
<ProjectReference Include="..\Game.AccountManagement.Domain\Game.AccountManagement.Domain.csproj" />
<ProjectReference Include="..\..\..\..\Shared\Fracture.Shared.Core\Fracture.Shared.Core.csproj" />
<ProjectReference Include="..\Fracture.AccountManagement.Domain\Fracture.AccountManagement.Domain.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using Game.AccountManagement.Application.Contracts.Queries;
using Game.AccountManagement.Domain.Data.Entities;
using Game.AccountManagement.Domain.Repositories;
using Fracture.AccountManagement.Application.Contracts.Queries;
using Fracture.AccountManagement.Domain.Data.Entities;
using Fracture.AccountManagement.Domain.Repositories;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game.AccountManagement.Application.Handlers.Queries
namespace Fracture.AccountManagement.Application.Handlers.Queries
{
internal class GetAllAccountsHandler
: IRequestHandler<GetAllAccountsQuery, IEnumerable<Account>>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Game.Shared.Core.Data;
using Fracture.Shared.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game.AccountManagement.Domain.Data.Entities
namespace Fracture.AccountManagement.Domain.Data.Entities
{
public class Account : Entity
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\..\Shared\Game.Shared.Core\Game.Shared.Core.csproj" />
<ProjectReference Include="..\..\..\..\Shared\Fracture.Shared.Core\Fracture.Shared.Core.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Game.AccountManagement.Domain.Data.Entities;
using Fracture.AccountManagement.Domain.Data.Entities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game.AccountManagement.Domain.Repositories
namespace Fracture.AccountManagement.Domain.Repositories
{
public interface IAccountRepository
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using Game.AccountManagement.Domain.Repositories;
using Game.AccountManagement.Infrastructure.PersistenceLayer.Repositories;
using Fracture.AccountManagement.Domain.Repositories;
using Fracture.AccountManagement.Infrastructure.PersistenceLayer.Repositories;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game.AccountManagement.Infrastructure
namespace Fracture.AccountManagement.Infrastructure
{
public static class DependencyInjection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\..\Shared\Game.Shared.External\Game.Shared.External.csproj" />
<ProjectReference Include="..\Game.AccountManagement.Domain\Game.AccountManagement.Domain.csproj" />
<ProjectReference Include="..\..\..\..\Shared\Fracture.Shared.External\Fracture.Shared.External.csproj" />
<ProjectReference Include="..\Fracture.AccountManagement.Domain\Fracture.AccountManagement.Domain.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Game.AccountManagement.Domain.Data.Entities;
using Game.AccountManagement.Domain.Repositories;
using Fracture.AccountManagement.Domain.Data.Entities;
using Fracture.AccountManagement.Domain.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game.AccountManagement.Infrastructure.PersistenceLayer.Repositories
namespace Fracture.AccountManagement.Infrastructure.PersistenceLayer.Repositories
{
internal class AccountRepository : IAccountRepository
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Game.DialogManagement.Api.Contracts.Requests
namespace Fracture.DialogManagement.Api.Contracts.Requests
{
/// <summary>
/// The data sent in by the client when they want to talk with an NPC.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System;
using System.Runtime.InteropServices;
using Game.DialogManagement.Api.Contracts.Requests;
using Game.DialogManagement.Application.Contracts.Commands;
using Game.DialogManagement.Application.Contracts.Queries;
using Fracture.DialogManagement.Api.Contracts.Requests;
using Fracture.DialogManagement.Application.Contracts.Commands;
using Fracture.DialogManagement.Application.Contracts.Queries;
using MediatR;
using Microsoft.AspNetCore.Mvc;

namespace Game.DialogManagement.Api.Controllers
namespace Fracture.DialogManagement.Api.Controllers
{
/// <summary>
/// The API controller for the Dialogue module.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Game.DialogManagement.Application;
using Game.DialogManagement.Infrastracture;
using Fracture.DialogManagement.Application;
using Fracture.DialogManagement.Infrastracture;
using Microsoft.Extensions.DependencyInjection;

namespace Game.DialogManagement.Api
namespace Fracture.DialogManagement.Api
{
public static class DependencyInjection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Game.DialogManagement.Application\Game.DialogManagement.Application.csproj" />
<ProjectReference Include="..\Game.DialogManagement.Infrastracture\Game.DialogManagement.Infrastracture.csproj" />
<ProjectReference Include="..\Fracture.DialogManagement.Application\Fracture.DialogManagement.Application.csproj" />
<ProjectReference Include="..\Fracture.DialogManagement.Infrastracture\Fracture.DialogManagement.Infrastracture.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Game.DialogManagement.Domain.Data.Entities;
using Fracture.DialogManagement.Domain.Data.Entities;
using MediatR;

namespace Game.DialogManagement.Application.Contracts.Commands
namespace Fracture.DialogManagement.Application.Contracts.Commands
{
/// <summary>
/// The command responsible for creating a new Dialogue record.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using MediatR;
using Game.DialogManagement.Domain.Data.Entities;
using Fracture.DialogManagement.Domain.Data.Entities;

namespace Game.DialogManagement.Application.Contracts.Commands
namespace Fracture.DialogManagement.Application.Contracts.Commands
{
/// <summary>
/// A command for generating the next message by the NPC from a dialogue.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Game.DialogManagement.Domain.Data.Entities;
using Fracture.DialogManagement.Domain.Data.Entities;
using MediatR;

namespace Game.DialogManagement.Application.Contracts.Commands
namespace Fracture.DialogManagement.Application.Contracts.Commands
{
/// <summary>
/// The command responsible for updating a dialogue.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Game.DialogManagement.Domain.Data.Entities;
using Fracture.DialogManagement.Domain.Data.Entities;
using MediatR;

namespace Game.DialogManagement.Application.Contracts.Queries
namespace Fracture.DialogManagement.Application.Contracts.Queries
{
/// <summary>
/// A query for fetching a dialogue by its player id and npc id.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Game.AccountManagement.Application
namespace Fracture.DialogManagement.Application
{
public static class DependencyInjection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
<Folder Include="Contracts\Commands\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Game.DialogManagement.Domain\Game.DialogManagement.Domain.csproj" />
<ProjectReference Include="..\Fracture.DialogManagement.Domain\Fracture.DialogManagement.Domain.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System;
using MediatR;
using Game.DialogManagement.Application.Contracts.Commands;
using Game.DialogManagement.Domain.Data.Entities;
using Game.DialogManagement.Domain.Data.ValueObjects;
using Game.DialogManagement.Domain.Repositories;
using Fracture.DialogManagement.Application.Contracts.Commands;
using Fracture.DialogManagement.Domain.Data.Entities;
using Fracture.DialogManagement.Domain.Data.ValueObjects;
using Fracture.DialogManagement.Domain.Repositories;

namespace Game.DialogManagement.Application.Handlers.Commands
namespace Fracture.DialogManagement.Application.Handlers.Commands
{
/// <summary>
/// The handler for the CreateDialogue command.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using MediatR;
using Game.DialogManagement.Application.Contracts.Commands;
using Game.DialogManagement.Domain.Providers;
using Fracture.DialogManagement.Application.Contracts.Commands;
using Fracture.DialogManagement.Domain.Providers;

namespace Game.DialogManagement.Application.Handlers.Commands
namespace Fracture.DialogManagement.Application.Handlers.Commands
{
/// <summary>
/// The handler for the DialogueChat command.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using MediatR;
using Game.DialogManagement.Application.Contracts.Commands;
using Game.DialogManagement.Domain.Repositories;
using Fracture.DialogManagement.Application.Contracts.Commands;
using Fracture.DialogManagement.Domain.Repositories;

namespace Game.DialogManagement.Application.Handlers.Commands
namespace Fracture.DialogManagement.Application.Handlers.Commands
{
/// <summary>
/// The handler for the UpdateDialogue command.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System;
using Game.DialogManagement.Application.Contracts.Queries;
using Game.DialogManagement.Domain.Data.Entities;
using Game.DialogManagement.Domain.Repositories;
using Fracture.DialogManagement.Application.Contracts.Queries;
using Fracture.DialogManagement.Domain.Data.Entities;
using Fracture.DialogManagement.Domain.Repositories;
using MediatR;

namespace Game.DialogManagement.Application.Handlers.Queries
namespace Fracture.DialogManagement.Application.Handlers.Queries
{
/// <summary>
/// The handler for the GetDialogue query.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Game.DialogManagement.Domain.Data.ValueObjects;
using Game.Shared.Core.Data;
using Fracture.DialogManagement.Domain.Data.ValueObjects;
using Fracture.Shared.Core.Data;

namespace Game.DialogManagement.Domain.Data.Entities
namespace Fracture.DialogManagement.Domain.Data.Entities
{
/// <summary>
/// The main dialogue entity.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Game.Shared.Core.Data;
using Fracture.Shared.Core.Data;

namespace Game.DialogManagement.Domain.Data.ValueObjects
namespace Fracture.DialogManagement.Domain.Data.ValueObjects
{
/// <summary>
/// The dialogue context, containing all of the information neccessary to
Expand Down
Loading