Exemple #1
0
 public LocalizationRepository(ILocalizedValueProvider valueProvider, INotifier notifier, ILocaleProvider localeProvider, IPartProvider partProvider, ILocalizationLogger logger = null)
 {
     Values   = valueProvider;
     Notifier = notifier;
     Locales  = localeProvider;
     Parts    = partProvider;
     Logger   = logger ?? new VoidLogger();
 }
 public LocalizationRepository(ILocalizedValueProvider valueProvider, INotifier notifier, ILocaleProvider localeProvider, IPartProvider partProvider, ILocalizationLogger logger = null)
 {
     Values = valueProvider;
     Notifier = notifier;
     Locales = localeProvider;
     Parts = partProvider;
     Logger = logger ?? new VoidLogger();
 }
Exemple #3
0
 public LocalizationRepository CreateRepository(IPartProvider partProvider, ILocalizationLogger logger)
 {
     return(new LocalizationRepository(_valueProvider, _notifier, _localeProvider, partProvider, logger));
 }
 public LocalizationRepository CreateRepository(IPartProvider partProvider, ILocalizationLogger logger)
 {
     return new LocalizationRepository(_valueProvider, _notifier, _localeProvider, partProvider, logger);
 }