Beispiel #1
0
 public static bool IsValid(
     this ILanguageTag lt)
 {
     return(lt != null && lt.GetLanguage() != null);
 }
Beispiel #2
0
 public static bool IsValid(this ILanguageTag languageTag) => languageTag != null && languageTag.GetLanguage() != null;