Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #210 from byBlurr/master
Browse files Browse the repository at this point in the history
Namespaces refactor
  • Loading branch information
byBlurr authored Jan 28, 2021
2 parents f0050b1 + e76e469 commit 97a3fa4
Show file tree
Hide file tree
Showing 106 changed files with 279 additions and 253 deletions.
34 changes: 0 additions & 34 deletions DragonFruit.Six.API/DragonFruit.Six.API.csproj

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

using System;
using System.Globalization;
using DragonFruit.Six.API.Data.Extensions;
using DragonFruit.Six.API.Enums;
using DragonFruit.Six.Api.Extensions;
using DragonFruit.Six.Api.Enums;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Data
namespace DragonFruit.Six.Api.Tests.Data
{
[TestFixture]
public class AccountActivityTests : Dragon6ApiTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using System;
using DragonFruit.Six.API.Data.Extensions;
using DragonFruit.Six.API.Enums;
using DragonFruit.Six.Api.Extensions;
using DragonFruit.Six.Api.Enums;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Data
namespace DragonFruit.Six.Api.Tests.Data
{
[TestFixture]
public class AccountLookupTests : Dragon6ApiTest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Six.API.Data.Extensions;
using DragonFruit.Six.API.Enums;
using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Extensions;
using DragonFruit.Six.Api.Enums;
using DragonFruit.Six.Api.Utils;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Data
namespace DragonFruit.Six.Api.Tests.Data
{
[TestFixture]
public class GeneralStatsTests : Dragon6ApiTest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Six.API.Data.Extensions;
using DragonFruit.Six.API.Enums;
using DragonFruit.Six.Api.Extensions;
using DragonFruit.Six.Api.Enums;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Data
namespace DragonFruit.Six.Api.Tests.Data
{
[TestFixture]
public class SeasonalStatsTests : Dragon6ApiTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

using System.Collections.Generic;
using System.Linq;
using DragonFruit.Six.API.Data;
using DragonFruit.Six.API.Data.Extensions;
using DragonFruit.Six.API.Enums;
using DragonFruit.Six.Api.Entities;
using DragonFruit.Six.Api.Extensions;
using DragonFruit.Six.Api.Enums;

namespace DragonFruit.Six.API.Tests
namespace DragonFruit.Six.Api.Tests
{
public abstract class Dragon6ApiTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using System;
using DragonFruit.Six.API.Data.Tokens;
using DragonFruit.Six.API.Developer;
using DragonFruit.Six.Api.Tokens;
using DragonFruit.Six.Api.Services.Developer;

namespace DragonFruit.Six.API.Tests
namespace DragonFruit.Six.Api.Tests
{
/// <summary>
/// Dragon6 Client For API Testing. Should NOT be used outside of this repo.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

Expand All @@ -13,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DragonFruit.Six.API\DragonFruit.Six.API.csproj" />
<ProjectReference Include="..\DragonFruit.Six.Api\DragonFruit.Six.Api.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Six.API.Data.Extensions;
using DragonFruit.Six.Api.Extensions;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Utils
namespace DragonFruit.Six.Api.Tests.Utils
{
[TestFixture]
public class IpInfoTests : Dragon6ApiTest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Utils;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Utils
namespace DragonFruit.Six.Api.Tests.Utils
{
[TestFixture]
public class OperatorInfoTests : Dragon6ApiTest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Six.API.Enums;
using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Enums;
using DragonFruit.Six.Api.Utils;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Utils
namespace DragonFruit.Six.Api.Tests.Utils
{
[TestFixture]
public class PlatformParserTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Utils;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Utils
namespace DragonFruit.Six.Api.Tests.Utils
{
[TestFixture]
public class RatioUtilTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Dragon6 API Copyright 2020 DragonFruit Network <inbox@dragonfruit.network>
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Six.API.Data.Extensions;
using DragonFruit.Six.Api.Extensions;
using NUnit.Framework;

namespace DragonFruit.Six.API.Tests.Utils
namespace DragonFruit.Six.Api.Tests.Utils
{
[TestFixture]
public class ServerStatusTests : Dragon6ApiTest
Expand Down
7 changes: 3 additions & 4 deletions DragonFruit.Six.API.sln → DragonFruit.Six.Api.sln
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28606.126
MinimumVisualStudioVersion = 10.0.40219.1
Expand All @@ -9,9 +8,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DragonFruit.Six.API", "DragonFruit.Six.API\DragonFruit.Six.API.csproj", "{7A576853-2EBA-48BB-AEDD-2E1819CAC342}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DragonFruit.Six.Api", "DragonFruit.Six.Api\DragonFruit.Six.Api.csproj", "{7A576853-2EBA-48BB-AEDD-2E1819CAC342}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DragonFruit.Six.API.Tests", "DragonFruit.Six.API.Tests\DragonFruit.Six.API.Tests.csproj", "{012E3B34-8063-4BF1-AF3D-BC1033C3FD93}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DragonFruit.Six.Api.Tests", "DragonFruit.Six.Api.Tests\DragonFruit.Six.Api.Tests.csproj", "{012E3B34-8063-4BF1-AF3D-BC1033C3FD93}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System;
using Newtonsoft.Json;

namespace DragonFruit.Six.API.Data.Containers
namespace DragonFruit.Six.Api.Containers
{
public class ActivityDates
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using System;
using DragonFruit.Six.API.Data.Interfaces;
using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Interfaces;
using DragonFruit.Six.Api.Utils;
using Newtonsoft.Json;

namespace DragonFruit.Six.API.Data.Containers
namespace DragonFruit.Six.Api.Containers
{
public class BombModeStats : ModeStatsContainer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using System;
using DragonFruit.Six.Api.Entities;
using Newtonsoft.Json;

namespace DragonFruit.Six.API.Data.Containers
namespace DragonFruit.Six.Api.Containers
{
public class PlaylistStats : StatsBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using Newtonsoft.Json;

namespace DragonFruit.Six.API.Data.Containers
namespace DragonFruit.Six.Api.Containers
{
public class RankInfo
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using Newtonsoft.Json;

namespace DragonFruit.Six.API.Data.Containers
namespace DragonFruit.Six.Api.Containers
{
public class UserIdentifiers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
using System;
using System.Collections.Generic;
using DragonFruit.Common.Data.Extensions;
using DragonFruit.Six.API.Data.Containers;
using DragonFruit.Six.API.Data.Strings;
using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Entities;
using DragonFruit.Six.Api.Containers;
using DragonFruit.Six.Api.Strings;
using DragonFruit.Six.Api.Utils;
using Newtonsoft.Json.Linq;

namespace DragonFruit.Six.API.Data.Deserializers
namespace DragonFruit.Six.Api.Deserializers
{
public static class AccountActivityDeserializer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@

using System.Collections.Generic;
using DragonFruit.Common.Data.Extensions;
using DragonFruit.Six.API.Data.Containers;
using DragonFruit.Six.API.Data.Strings;
using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Entities;
using DragonFruit.Six.Api.Containers;
using DragonFruit.Six.Api.Strings;
using DragonFruit.Six.Api.Utils;
using Newtonsoft.Json.Linq;

namespace DragonFruit.Six.API.Data.Deserializers
namespace DragonFruit.Six.Api.Deserializers
{
public static class AccountInfoDeserializer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
// Licensed under Apache-2. Please refer to the LICENSE file for more info

using DragonFruit.Common.Data.Extensions;
using DragonFruit.Six.API.Data.Containers;
using DragonFruit.Six.API.Data.Strings;
using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Entities;
using DragonFruit.Six.Api.Containers;
using DragonFruit.Six.Api.Strings;
using DragonFruit.Six.Api.Utils;
using Newtonsoft.Json.Linq;

namespace DragonFruit.Six.API.Data.Deserializers
namespace DragonFruit.Six.Api.Deserializers
{
public static class GeneralStatsDeserializer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
using System.Collections.Generic;
using System.Linq;
using DragonFruit.Common.Data.Extensions;
using DragonFruit.Six.API.Data.Strings;
using DragonFruit.Six.API.Utils;
using DragonFruit.Six.Api.Entities;
using DragonFruit.Six.Api.Strings;
using DragonFruit.Six.Api.Utils;
using Newtonsoft.Json.Linq;

namespace DragonFruit.Six.API.Data.Deserializers
namespace DragonFruit.Six.Api.Deserializers
{
public static class OperatorStatsDeserializer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using DragonFruit.Six.Api.Entities;

namespace DragonFruit.Six.API.Data.Deserializers
namespace DragonFruit.Six.Api.Deserializers
{
public static class PlayerLevelStatsDeserializer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

using System;
using DragonFruit.Common.Data.Extensions;
using DragonFruit.Six.API.Data.Strings;
using DragonFruit.Six.API.Enums;
using DragonFruit.Six.Api.Entities;
using DragonFruit.Six.Api.Strings;
using DragonFruit.Six.Api.Enums;
using Newtonsoft.Json.Linq;

namespace DragonFruit.Six.API.Data.Deserializers
namespace DragonFruit.Six.Api.Deserializers
{
public static class SeasonStatsDeserializer
{
Expand Down
Loading

0 comments on commit 97a3fa4

Please sign in to comment.