public static string CSharp_Macrolanguage(this LanguageEntry entry) { if (entry.Macrolanguage == null) { throw new Exception("can't contain subtag"); } return(asPublicProperty(entry.Macrolanguage.ToUpperInvariant())); }
public static string CSharp_LanguageScope(this LanguageEntry entry) { if (entry.Scope == null) { throw new Exception("can't contain subtag"); } return(asPublicProperty(entry.Scope)); }