Esempio n. 1
0
 public LocalizationResourceManagerTests()
 {
     resourceManager     = new MockResourceManager();
     localizationManager = new LocalizationResourceManager();
     localizationManager.Init(resourceManager, initialCulture);
 }
Esempio n. 2
0
 public LocalizedString(LocalizationResourceManager localizationManager, Func <string> generator = null)
 {
     this.generator = generator;
     localizationManager.WeakSubscribe(this, (t, sender, e) => t.OnPropertyChanged(null));
 }
Esempio n. 3
0
 public LocalizationService(ILocalStorage localStorage, LocalizationResourceManager manager)
 => (this.localStorage, this.manager) = (localStorage, manager);