Renamed subprojects and changed namespace names.

This commit is contained in:
Harrison Deng 2021-04-20 23:55:03 -05:00
parent f5a181d2f2
commit f61bbd3a9e
41 changed files with 52 additions and 52 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
dotnet build -v n src/GameServiceWarden.API.Module
dotnet build -v n src/GameServiceWarden.ModuleAPI
dotnet build -v n src/GameServiceWarden.Core

View File

@ -1,7 +0,0 @@
namespace GameServiceWarden.API.Communicable
{
public struct DisconnectRequest
{
string reason;
}
}

View File

@ -1,6 +1,6 @@
using System;
namespace GameServiceWarden.API.Communicable
namespace GameServiceWarden.ClientAPI
{
public enum CommunicableType : uint
{

View File

@ -1,6 +1,6 @@
using System;
namespace GameServiceWarden.API.Communicable
namespace GameServiceWarden.ClientAPI
{
public interface ICommunicable
{

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.API.Communicable.Requests
namespace GameServiceWarden.ClientAPI.Requests
{
public struct ConnectRequest : ICommunicable
{

View File

@ -0,0 +1,7 @@
namespace GameServiceWarden.ClientAPI
{
public struct DisconnectRequest
{
public string reason;
}
}

View File

@ -1,7 +1,7 @@
using System;
using System.IO.Pipes;
namespace GameServiceWarden.API.Communicable.Requests
namespace GameServiceWarden.ClientAPI.Requests
{
public static class RequestHeader
{

View File

@ -1,6 +1,6 @@
using GameServiceWarden.API.Games;
using GameServiceWarden.ClientAPI.Module;
namespace GameServiceWarden.API.Communicable.Requests
namespace GameServiceWarden.ClientAPI.Requests
{
public struct ServiceRequest : ICommunicable
{

View File

@ -1,6 +1,6 @@
using System.Security.Cryptography.X509Certificates;
namespace GameServiceWarden.API.Communicable.Responses
namespace GameServiceWarden.ClientAPI.Responses
{
public struct ConnectResponse : ICommunicable
{

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.API.Communicable
namespace GameServiceWarden.ClientAPI
{
public struct DisconnectResponse
{

View File

@ -1,6 +1,6 @@
using System;
namespace GameServiceWarden.API.Communicable.Responses
namespace GameServiceWarden.ClientAPI.Responses
{
public static class ResponseHeader
{

View File

@ -1,6 +1,6 @@
using GameServiceWarden.API.Games;
using GameServiceWarden.ClientAPI.Module;
namespace GameServiceWarden.API.Communicable.Responses
namespace GameServiceWarden.ClientAPI.Responses
{
public struct ServiceResponse : ICommunicable
{

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.API.Communicable.Responses
namespace GameServiceWarden.ClientAPI.Responses
{
public struct UnexpectedRequestResponse : ICommunicable
{

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.API.Games
namespace GameServiceWarden.ClientAPI.Module
{
public struct ServiceManagerAction
{

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace GameServiceWarden.API.Games
namespace GameServiceWarden.ClientAPI.Module
{
public struct ServiceManagerState
{

View File

@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\GameServiceWarden.API.Module\GameServiceWarden.API.Module.csproj" />
<ProjectReference Include="..\GameServiceWarden.API\GameServiceWarden.API.csproj" />
<ProjectReference Include="..\GameServiceWarden.ModuleAPI\GameServiceWarden.ModuleAPI.csproj" />
<ProjectReference Include="..\GameServiceWarden.ClientAPI\GameServiceWarden.ClientAPI.csproj" />
</ItemGroup>
<PropertyGroup>

View File

@ -1,4 +1,4 @@
using GameServiceWarden.API.Games;
using GameServiceWarden.ClientAPI.Module;
namespace GameServiceWarden.Core.Module
{

View File

@ -1,4 +1,4 @@
using GameServiceWarden.API.Games;
using GameServiceWarden.ClientAPI.Module;
namespace GameServiceWarden.Core.Module
{

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Reflection;
using GameServiceWarden.Core.Module.Exceptions;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
namespace GameServiceWarden.Core.Module
{

View File

@ -11,7 +11,7 @@ using System.Threading;
using System.Threading.Tasks;
using GameServiceWarden.Core.Module.Exceptions;
using GameServiceWarden.Core.Logging;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
using System.Net.Sockets;
//TODO Update UML

View File

@ -2,9 +2,9 @@ using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using GameServiceWarden.API.Games;
using GameServiceWarden.ClientAPI.Module;
using GameServiceWarden.Core.Persistence;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
using GameServiceWarden.Core.Collection;
namespace GameServiceWarden.Core.Module

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
namespace GameServiceWarden.Core.Persistence
{

View File

@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using GameServiceWarden.Core.Module;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
using System.Collections.ObjectModel;
namespace GameServiceWarden.Core.Persistence

View File

@ -4,7 +4,7 @@ using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using GameServiceWarden.Core.Module;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
namespace GameServiceWarden.Core.Persistence
{

View File

@ -1,7 +1,7 @@
using System.Diagnostics;
using System.Text.Json;
using GameServiceWarden.API.Communicable;
using GameServiceWarden.API.Communicable.Requests;
using GameServiceWarden.ClientAPI;
using GameServiceWarden.ClientAPI.Requests;
using GameServiceWarden.Core.Module;
using GameServiceWarden.Core.Logging;

View File

@ -7,9 +7,9 @@ using System.Net.Sockets;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using GameServiceWarden.API.Communicable;
using GameServiceWarden.API.Communicable.Requests;
using GameServiceWarden.API.Communicable.Responses;
using GameServiceWarden.ClientAPI;
using GameServiceWarden.ClientAPI.Requests;
using GameServiceWarden.ClientAPI.Responses;
using GameServiceWarden.Core.Logging;
namespace GameServiceWarden.Core.UI

View File

@ -1,7 +1,7 @@
using System.Text.Json;
using System.Threading.Tasks;
using GameServiceWarden.API.Communicable;
using GameServiceWarden.API.Games;
using GameServiceWarden.ClientAPI;
using GameServiceWarden.ClientAPI.Module;
using GameServiceWarden.Core.Module;
namespace GameServiceWarden.Core.UI

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.IO;
namespace GameServiceWarden.API.Module
namespace GameServiceWarden.ModuleAPI
{
public interface IService
{

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.API.Module
namespace GameServiceWarden.ModuleAPI
{
public interface IServiceConfigurable
{

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace GameServiceWarden.API.Module
namespace GameServiceWarden.ModuleAPI
{
public interface IServiceModule
{

View File

@ -1,4 +1,4 @@
namespace GameServiceWarden.API.Module
namespace GameServiceWarden.ModuleAPI
{
public enum ServiceState
{

View File

@ -15,7 +15,7 @@
<ItemGroup>
<ProjectReference Include="..\..\src\GameServiceWarden.Core\GameServiceWarden.Core.csproj" />
<ProjectReference Include="..\..\src\GameServiceWarden.API.Module\GameServiceWarden.API.Module.csproj" />
<ProjectReference Include="..\..\src\GameServiceWarden.ModuleAPI\GameServiceWarden.ModuleAPI.csproj" />
</ItemGroup>
</Project>

View File

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
namespace GameServiceWarden.Core.Tests.Modules
{

View File

@ -1,4 +1,4 @@
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
namespace GameServiceWarden.Core.Tests.Modules
{

View File

@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using GameServiceWarden.API.Games;
using GameServiceWarden.ClientAPI.Module;
using GameServiceWarden.Core.Module;
namespace GameServiceWarden.Core.Tests.Modules

View File

@ -1,5 +1,5 @@
using System.Collections.Generic;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
namespace GameServiceWarden.Core.Tests.Modules
{

View File

@ -2,7 +2,7 @@ using System.Collections.Generic;
using System.IO;
using GameServiceWarden.Core.Module;
using GameServiceWarden.Core.Logging;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
using Xunit;
using Xunit.Abstractions;
using System.Text;

View File

@ -6,7 +6,7 @@ using System.Threading;
using System.Threading.Tasks;
using GameServiceWarden.Core.Module;
using GameServiceWarden.Core.Logging;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
using Xunit;
using Xunit.Abstractions;
using System.Text;

View File

@ -3,7 +3,7 @@ using System.IO;
using GameServiceWarden.Core.Module;
using GameServiceWarden.Core.Persistence;
using GameServiceWarden.Core.Tests.Modules;
using GameServiceWarden.API.Module;
using GameServiceWarden.ModuleAPI;
using Xunit;
namespace GameServiceWarden.Core.Tests.Persistence