Example #1
0
 internal TranslationData(string key, string format, Mode mode = Mode.NORMAL)
 {
     _key    = key;
     _format = format;
     _mode   = mode;
     LanguageChangedEventManager.AddListener(TranslationManager.Instance, this);
 }
Example #2
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
 }
Example #3
0
 internal TranslationData()
 {
     LanguageChangedEventManager.AddListener(TranslationManager.Instance, this);
 }