Beispiel #1
0
 public static void DeserializeFromString(ILPanelEditor editor, string xmlString)
 {
     var deserializer = new XmlDeserializer();
     deserializer.LoadFromString(xmlString);
     editor.Deserialize(deserializer);
 }
Beispiel #2
0
 public static void DeserializeFromFile(ILPanelEditor editor, string filename)
 {
     var deserializer = new XmlDeserializer();
     deserializer.LoadFromFile(filename);
     editor.Deserialize(deserializer);
 }