示例#1
0
        private static void SaveData(string path)
        {
            if (data == null)
            {
                return;
            }

            File.WriteAllText(path, XmlWrapper.Dump(data));
        }
示例#2
0
 private static UnigrationData LoadData(string path)
 {
     return(XmlWrapper.Load <UnigrationData>(
                File.ReadAllText(path)));
 }
示例#3
0
 private static UnigrationNode LoadNode(string path)
 {
     return(XmlWrapper.Load <UnigrationNode>(
                File.ReadAllText(path)));
 }