public static void Register(PersistableType type) { if (type != null) { m_Table[type.Name] = type; } }
public override PersistableObject GetChild() { PersistableType type = PersistableTypeRegistry.Find(m_Xml.Name); PersistableObject obj = type.Constructor(); m_WasEmptyElement = m_Xml.IsEmptyElement; obj.Deserialize(this); m_HasChild = (m_Xml.NodeType == XmlNodeType.Element); return(obj); }
public override void BeginObject(PersistableType typeID) { m_Xml.WriteStartElement(typeID.Name); }
public abstract void BeginObject(PersistableType typeID);