test Ref conversion

This commit is contained in:
2020-10-12 13:14:18 +02:00
parent 96ffdab4c6
commit 0d3bf47f73
26 changed files with 286 additions and 172 deletions
+13
View File
@@ -1,6 +1,7 @@
using System;
using System.Globalization;
using System.Linq;
using zero.Core.Entities;
namespace zero.Core.Extensions
{
@@ -80,6 +81,18 @@ namespace zero.Core.Extensions
return String.IsNullOrWhiteSpace(input);
}
public static bool IsNullOrEmpty(this Ref input)
{
return input == null || String.IsNullOrEmpty(input);
}
public static bool IsNullOrWhiteSpace(this Ref input)
{
return input == null || String.IsNullOrWhiteSpace(input);
}
public static string ToCamelCase(this string input)
{
if (!String.IsNullOrEmpty(input) && input.Length > 1)