统一编码
This commit is contained in:
1 parent
8e87d13d76
commit
1a639fa88f
26 files changed
+26
-26
No files matched your search
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore.Extensions;
|
||||
namespace MeloongCore.Extensions;
|
||||
public static class EnumerableExtensions {
|
||||
|
||||
#region 去重
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Net.Sockets;
|
||||
using System.Net.Sockets;
|
||||
|
||||
namespace MeloongCore.Extensions;
|
||||
public static class ExceptionExtensions {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace MeloongCore.Extensions;
|
||||
public static class StringExtensions {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore.Extensions;
|
||||
namespace MeloongCore.Extensions;
|
||||
public static class WebExtensions {
|
||||
|
||||
// Source - https://stackoverflow.com/a/46026230, Posted by desautelsj, Retrieved 2026-06-14, License - CC BY-SA 4.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
|
||||
/// <summary>
|
||||
/// 使用粗粒度锁的线程安全 <see cref="List{T}"/> 实现。
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace MeloongCore;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
public readonly struct OneOf<T0, T1> {
|
||||
private readonly int _index = -1; // -1 表示未初始化(这是一个 struct,所以这可以让默认值不为 0)
|
||||
private readonly T0? _value0;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
|
||||
/// <summary>
|
||||
/// 表示一个由可选下界和可选上界组成的范围。
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
public static class Main {
|
||||
|
||||
public static string AppName = "Meloong";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
public static class DirectoryUtils {
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Globalization;
|
||||
using System.Globalization;
|
||||
|
||||
namespace MeloongCore;
|
||||
public static class EnumUtils {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.IO.Compression;
|
||||
|
||||
namespace MeloongCore;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Numerics;
|
||||
using System.Numerics;
|
||||
|
||||
namespace MeloongCore;
|
||||
public static class MathUtils {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
public static class PathUtils {
|
||||
|
||||
#region 分隔符
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
public static class ResilientUtils {
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace MeloongCore;
|
||||
public static class StringUtils {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace MeloongCore;
|
||||
public static class TaskUtils {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
|
||||
/// <summary>
|
||||
/// 当 HTTP 请求的状态码不指示成功时引发的异常。
|
||||
|
||||
Reference in new issue
Block a user