Exemple #1
0
        public TranslateService()
        {
            if (_class != null)
            {
                throw new Exception("Class already exists!");
            }
            _class      = this;
            _dictionary = new Dictionary <Language, LanguageDictionary>();

            LoadTranslations();
        }
Exemple #2
0
 public void ClearClass()
 {
     _class      = null;
     _dictionary = null;
 }