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