public void Convert <T>(T obj, string FilePath)
 {
     FS.WriteAllText(FilePath, XmlSerialization.ToXmlText(obj));
 }
예제 #2
0
 public static void WriteToAppend(this string text, string path)
 {
     FS.AppendText(path, text);
 }
 public T ConvertBack <T>(string FilePath)
 {
     return(XmlSerialization.FromXmlText <T>(FS.ReadAllText(FilePath)));
 }
예제 #4
0
 public static void WriteToAll(this string text, string path)
 {
     FS.WriteAllText(path, text);
 }