Пример #1
0
 public static IEnumerable <T> Localize <T>(this IEnumerable <T> items, string languageCode, LocalizationDepth depth = LocalizationDepth.Shallow) where T : class, ILocalizable
 {
     return(ObjectLocalizerConfig.Get().Localize(items, languageCode, depth));
 }
Пример #2
0
 public static T Localize <T>(this T item, LocalizationDepth depth = LocalizationDepth.Shallow) where T : class, ILocalizable
 {
     return(ObjectLocalizerConfig.Get().Localize(item, depth));
 }