aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/ExtensionMethods
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-17 01:34:51 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-17 01:34:51 +0200
commit6b59b18966fa95b24d8813752f5a1ba1fd730660 (patch)
tree2745287dca8601cc44e31ed689866086cf6fdc09 /Software/Visual_Studio/Tango.Core/ExtensionMethods
parent7d746ab2f2979794c46f7f54a7f7100080993086 (diff)
downloadTango-6b59b18966fa95b24d8813752f5a1ba1fd730660.tar.gz
Tango-6b59b18966fa95b24d8813752f5a1ba1fd730660.zip
Started basic design of FSE skeletons.
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/ExtensionMethods')
-rw-r--r--Software/Visual_Studio/Tango.Core/ExtensionMethods/StringExtensions.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Core/ExtensionMethods/StringExtensions.cs b/Software/Visual_Studio/Tango.Core/ExtensionMethods/StringExtensions.cs
index 78bb693f6..4984c84db 100644
--- a/Software/Visual_Studio/Tango.Core/ExtensionMethods/StringExtensions.cs
+++ b/Software/Visual_Studio/Tango.Core/ExtensionMethods/StringExtensions.cs
@@ -234,6 +234,11 @@ public static class StringExtensions
return String.IsNullOrEmpty(str) ? null : str;
}
+ public static bool IsNotNullOrEmpty(this String str)
+ {
+ return !String.IsNullOrWhiteSpace(str);
+ }
+
public static List<T> ToEnumValues<T>(this String str, char splitChar) where T : struct
{
if (!String.IsNullOrWhiteSpace(str))