Example #1
0
 /// <summary>
 /// The multi-language string is neither null nor empty.
 /// </summary>
 public static Boolean IsNeitherNullNorEmpty(this I18NText Text)
 => Text != null && Text.Any();
Example #2
0
 /// <summary>
 /// Return the first string of a multi-language string.
 /// </summary>
 public static String FirstText(this I18NText Text)
 => Text != null && Text.Any()
            ? Text.First().Value
            : null;
Example #3
0
 /// <summary>
 /// The multi-language string is empty.
 /// </summary>
 public static Boolean IsNullOrEmpty(this I18NText Text)
 => Text == null || !Text.Any();