mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-19 09:49:45 +05:00
Add IsNotEmpty function
This commit is contained in:
@@ -417,6 +417,11 @@ namespace ServiceLib.Common
|
||||
return false;
|
||||
}
|
||||
|
||||
public static bool IsNotEmpty(string? text)
|
||||
{
|
||||
return !string.IsNullOrEmpty(text);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 验证IP地址是否合法
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user