public void Deserialization(SceneObjectPart obj, XmlTextReader reader) { string components = reader.ReadElementContentAsString("Components", String.Empty); if (components != "") { try { DeserializeComponents(obj, components); obj.FinishedSerializingGenericProperties(); } catch (Exception ex) { MainConsole.Instance.Warn("[COMPONENTMANAGER]: Error on deserializing Components! " + ex); } } }