parent
185bee7ae2
commit
3b7f648c27
18 changed files with 25 additions and 25 deletions
|
|
@ -124,7 +124,7 @@ namespace Server
|
|||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static string IsNullOrDefault(this string value, string def) => value?.Length > 0 ? value : def;
|
||||
public static string DefaultIfNullOrEmpty(this string value, string def) => value?.Length > 0 ? value : def;
|
||||
|
||||
public static IPAddress Intern(IPAddress ipAddress)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue