12 lines
233 B
C#
12 lines
233 B
C#
|
namespace TYTD.Mobile
|
||
|
{
|
||
|
public static class Extensions{
|
||
|
public static string GetValOrDefault(this string? str)
|
||
|
{
|
||
|
if(string.IsNullOrWhiteSpace(str))
|
||
|
return "";
|
||
|
|
||
|
return str;
|
||
|
}
|
||
|
}
|
||
|
}
|