Add Connections Host Filter

https://github.com/2dust/v2rayN/issues/5683
This commit is contained in:
2dust
2024-09-17 14:50:31 +08:00
parent aa829a66ea
commit 4c0a59a715
8 changed files with 47 additions and 5 deletions
+5
View File
@@ -14,6 +14,11 @@ namespace ServiceLib.Common
return string.IsNullOrWhiteSpace(value);
}
public static bool IsNotEmpty([NotNullWhen(false)] this string? value)
{
return !string.IsNullOrEmpty(value);
}
public static bool BeginWithAny(this string s, IEnumerable<char> chars)
{
if (s.IsNullOrEmpty()) return false;