コード例 #1
0
        public static IEnumerable <Culture> GetNotNeutralCultures(IStorage storage)
        {
            CultureManager.CacheCultures(storage);

            return(CultureManager.cultures.Where(c => !c.IsNeutral).OrderBy(c => c.Name));
        }
コード例 #2
0
        public static Culture GetDefaultCulture(IStorage storage)
        {
            CultureManager.CacheCultures(storage);

            return(CultureManager.cultures.FirstOrDefault(c => c.IsDefault));
        }
コード例 #3
0
        public static IEnumerable <Culture> GetCultures(IStorage storage)
        {
            CultureManager.CacheCultures(storage);

            return(CultureManager.cultures.OrderBy(c => c.Name));
        }