Ejemplo n.º 1
0
 public static IEnumerable <IISOCountry> Localize(this IEnumerable <IISOCountry> countries,
                                                  string culture, LocalizationSettings localizationSettings)
 {
     LocalizationSettings = localizationSettings;
     return(countries.Select(country => Localize(country, culture, localizationSettings)).ToList());
 }
Ejemplo n.º 2
0
 public static IISOCountry Localize(this IISOCountry country, CultureInfo culture,
                                    LocalizationSettings localizationSettings)
 {
     LocalizationSettings = localizationSettings;
     return(Localize(country, culture.Name, localizationSettings));
 }
Ejemplo n.º 3
0
 public static IEnumerable <IISOCountry> Localize(this IEnumerable <IISOCountry> countries,
                                                  CultureInfo culture, LocalizationSettings localizationSettings)
 {
     LocalizationSettings = localizationSettings;
     return(Localize(countries, culture.Name, localizationSettings));
 }