When XML is serialised, instead of repeating the full type name for each editor and properties, a map is built contaning an index number and the related full type name. This is put at the start of the XML so that when reloading, the map is reconstructed first, then the full type name can be resolved from the indexes stored all over the XML.
Ejemplo n.º 1
0
 public static Level Load(XElement xml)
 {
     TypeLookup.Rehydrate(xml);
     return(new Level(xml));
 }