コード例 #1
0
 protected override void ReLoad()
 {
     base.ReLoad();
     lock (_syncObj)
         _strings = new LocalizationStrings(_languageDirectories, _currentCulture);
 }
コード例 #2
0
 /// <summary>
 /// Loads or reloads all localization resources based on the current <see cref="_languageDirectories"/>.
 /// </summary>
 protected virtual void ReLoad()
 {
     lock (_syncObj)
         _availableLanguages = LocalizationStrings.FindAvailableLanguages(_languageDirectories);
 }