Пример #1
0
 public static void Save(CMap map, string path)
 {
     CXMLSerializer<CMap> serializer = new CXMLSerializer<CMap>(map);
     serializer.Serialize(path);
 }
Пример #2
0
 public static CMap Read(CMap map, string path)
 {
     CXMLSerializer<CMap> serializer = new CXMLSerializer<CMap>(map);
     return serializer.Load(path);
 }