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));
|
values.RemoveAll(item => item.EqualsCI(value));
|
||||||
}
|
}
|
||||||
/// <summary>Remove all blank values with option to trim values before checking for blank.</summary>
|
/// <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++)
|
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>
|
/// <summary>Remove all duplicate values from the list, case-insensitive.</summary>
|
||||||
public static void RemoveDuplicatesCI (this List<String> values)
|
public static void RemoveDuplicatesCI (this List<String> values)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ textarea{resize:none;}
|
|||||||
.italic,i{font-style:italic !important;}
|
.italic,i{font-style:italic !important;}
|
||||||
.upper{text-transform:uppercase !important;}
|
.upper{text-transform:uppercase !important;}
|
||||||
.lower{text-transform:lowercase !important;}
|
.lower{text-transform:lowercase !important;}
|
||||||
|
.left{text-align:left !important;}
|
||||||
.center{text-align:center !important;}
|
.center{text-align:center !important;}
|
||||||
.right{text-align:right !important;}
|
.right{text-align:right !important;}
|
||||||
.middle{vertical-align:middle !important;}
|
.middle{vertical-align:middle !important;}
|
||||||
|
|||||||
Reference in New Issue
Block a user