Saxonite 1.2.11.9
This commit is contained in:
@@ -102,7 +102,7 @@ namespace Sarand.Net.Standard.Base.Utils
|
||||
values.RemoveAll(item => item.EqualsCI(value));
|
||||
}
|
||||
/// <summary>Remove all blank values with option to trim values before checking for blank.</summary>
|
||||
public static void RemoveBlanks (this List<String> values, bool trimValues = true)
|
||||
public static void RemoveBlanks(this List<String> values, bool trimValues = true)
|
||||
{
|
||||
for (int idx = 0; idx < values.Count; idx++)
|
||||
{
|
||||
@@ -115,6 +115,11 @@ namespace Sarand.Net.Standard.Base.Utils
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>Remove all blank values with option to trim values before checking for blank.</summary>
|
||||
public static void RemoveBlanks(this HashSet<String> values, bool trimValues = true)
|
||||
{
|
||||
values.RemoveWhere(item => StringUtil.IsBlank(item));
|
||||
}
|
||||
/// <summary>Remove all duplicate values from the list, case-insensitive.</summary>
|
||||
public static void RemoveDuplicatesCI (this List<String> values)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user