public static IEnumerable <Culture> GetNotNeutralCultures(IStorage storage) { CultureManager.CacheCultures(storage); return(CultureManager.cultures.Where(c => !c.IsNeutral).OrderBy(c => c.Name)); }
public static Culture GetDefaultCulture(IStorage storage) { CultureManager.CacheCultures(storage); return(CultureManager.cultures.FirstOrDefault(c => c.IsDefault)); }
public static IEnumerable <Culture> GetCultures(IStorage storage) { CultureManager.CacheCultures(storage); return(CultureManager.cultures.OrderBy(c => c.Name)); }