Esempio n. 1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // Code to dispose the managed resources of the class
         LanguageChangedEventManager.RemoveListener(TranslationManager.Instance, this);
     }
     // Code to dispose the un-managed resources of the class
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TranslationData"/> class.
 /// </summary>
 /// <param name="key">The key.</param>
 public TranslationData(string key)
 {
     _key = key;
     LanguageChangedEventManager.AddListener(TranslationManager.Instance, this);
 }