public void Deserialize(PropertyBagLazyLoaded s, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var assemblyVersionString = info.GetStringAttribute("AssemblyVersion"); s.AssemblyVersionLoadedFrom = Version.Parse(assemblyVersionString); int count = info.OpenArray("Properties"); for (int i = 0; i < count; i++) { info.OpenElement(); // "e" string propkey = info.GetString("Key"); string valueAsXmlString = info.GetElementAsOuterXml("Value"); info.CloseElement(); // "e" s._propertiesLazyLoaded[propkey] = valueAsXmlString; } info.CloseArray(count); }