private TranslationFileHandler()
 {
     DialogList d = new DialogList();
     x = new XmlSerializer(d.GetType());
 }
 public void writeFile(DialogList d, string path)
 {
     StreamWriter sw = new StreamWriter(path, false);
     x.Serialize(sw, d);
 }
Пример #3
0
 /*SINGLETON-END
  */
 public FileHandler()
 {
     DialogList d = new DialogList();
     x = new XmlSerializer(d.GetType());
 }