Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Common.BasicHelper.Core.Shell;

namespace Common.BasicHelper.Test;
namespace Common.BasicHelper.Test.Core.Shell;

[TestClass]
public class CommadsExecutor_Test
public class Test_CommandsExecutor
{
[TestMethod]
public void TestCommand()
public void Test_Command()
{
Console.WriteLine("help".ExecuteAsCommand());
}
Expand Down
5 changes: 5 additions & 0 deletions Common.BasicHelper.Test/Core/Shell/Test_EnvironmentHelper.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace Common.BasicHelper.Test.Core.Shell;

internal class Test_EnvironmentHelper
{
}
12 changes: 0 additions & 12 deletions Common.BasicHelper.Test/EnvironmentHelperEnvironmentHelper_Test.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Common.BasicHelper.UI.Screen;
using Common.BasicHelper.Graphics.Screen;

namespace Common.BasicHelper.Test;
namespace Common.BasicHelper.Test.Graphics.Screen;

[TestClass]
public class UI_Test
public class Test_Resolution
{
[TestMethod]
public void ResolutionSuggestTest()
public void Test_SuggestResolution()
{
foreach (var item in Resolution.resolutions)
{
Expand All @@ -15,4 +15,4 @@ public void ResolutionSuggestTest()
Console.WriteLine($"{item}\r\n\t{tarRes}");
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Common.BasicHelper.Util.Extension;
using Common.BasicHelper.Utils.Extensions;

namespace Common.BasicHelper.Test;
namespace Common.BasicHelper.Test.Utils.Extensions;

[TestClass]
public class Util_Extension_Test
public class Test_QueueHelper
{
[TestMethod]
public void QueueExtensionTest()
public void Test_QueueExtensions()
{
var queue = new Queue<int>()
.Push(1)
Expand All @@ -26,7 +26,7 @@ public void QueueExtensionTest()
}

[TestMethod]
public void DumpQueueTest()
public void Test_DumpQueue()
{
var queue = new Queue<int>()
.Push(1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Common.BasicHelper.Util;
using Common.BasicHelper.Utils;

namespace Common.BasicHelper.Test;
namespace Common.BasicHelper.Test.Utils;

[TestClass]
public class Util_Test
public class Test_GUID
{
[TestMethod]
public void GUID_Part_Random_Generate_Test()
public void Test_GenerateRandomGUIDPart()
{
for (int i = 0; i < 10; i++)
Console.WriteLine(GUID_Helper.Random_GUID_Generate().GetString());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;

namespace Common.BasicHelper.UI.Screen;
namespace Common.BasicHelper.Graphics.Screen;

public class Resolution
{
Expand Down
4 changes: 2 additions & 2 deletions Common.BasicHelper/IO/FileHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Common.BasicHelper.Util;
using Common.BasicHelper.Util.Extension;
using Common.BasicHelper.Utils;
using Common.BasicHelper.Utils.Extensions;
using System;
using System.IO;
using System.Threading.Tasks;
Expand Down
8 changes: 1 addition & 7 deletions Common.BasicHelper/Math/Tricks.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Text;

namespace Common.BasicHelper.Math;

Expand Down
2 changes: 1 addition & 1 deletion Common.BasicHelper/NET/BasicNet.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Common.BasicHelper.Util.Extension;
using Common.BasicHelper.Utils.Extensions;
using System;
using System.IO;
using System.Net;
Expand Down
6 changes: 0 additions & 6 deletions Common.BasicHelper/Util/Extension/ArrayHelper.cs

This file was deleted.

6 changes: 6 additions & 0 deletions Common.BasicHelper/Utils/Extensions/ArrayHelper.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Common.BasicHelper.Utils.Extensions;

public static class ArrayHelper
{

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.IO;
using System.Net;

namespace Common.BasicHelper.Util.Extension;
namespace Common.BasicHelper.Utils.Extensions;

public static class CleanHelper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Net.NetworkInformation;
using System.Text;

namespace Common.BasicHelper.Util.Extension;
namespace Common.BasicHelper.Utils.Extensions;

public static class Dumpper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Text;

namespace Common.BasicHelper.Util.Extension;
namespace Common.BasicHelper.Utils.Extensions;

public static class ListHelper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Common.BasicHelper.Util.Extension;
namespace Common.BasicHelper.Utils.Extensions;

public static class QueueHelper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Common.BasicHelper.Util.Extension;
namespace Common.BasicHelper.Utils.Extensions;

public static class StringHelper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text;
using System.Text.RegularExpressions;

namespace Common.BasicHelper.Util;
namespace Common.BasicHelper.Utils;

public static class GUID_Helper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Common.BasicHelper.Util;
namespace Common.BasicHelper.Utils;

public struct Platform
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Common.BasicHelper.Util;
namespace Common.BasicHelper.Utils;

public struct RegexStrings
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Common.BasicHelper.Util;
namespace Common.BasicHelper.Utils;

public class Result<T> : Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Linq;
using System.Text.RegularExpressions;

namespace Common.BasicHelper.Util;
namespace Common.BasicHelper.Utils;

public struct Version
{
Expand Down
Binary file modified Common.BasicHelper/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.