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); }
/*SINGLETON-END */ public FileHandler() { DialogList d = new DialogList(); x = new XmlSerializer(d.GetType()); }