public static void Register(PersistableType type)
 {
     if (type != null)
     {
         m_Table[type.Name] = type;
     }
 }
Example #2
0
		public static void Register( PersistableType type )
		{
			if ( type != null )
			{
				m_Table[type.Name] = type;
			}
		}
Example #3
0
        public override PersistableObject GetChild()
        {
            PersistableType   type = PersistableTypeRegistry.Find(this.m_Xml.Name);
            PersistableObject obj  = type.Constructor();

            this.m_WasEmptyElement = this.m_Xml.IsEmptyElement;

            obj.Deserialize(this);

            this.m_HasChild = (this.m_Xml.NodeType == XmlNodeType.Element);

            return(obj);
        }
Example #4
0
 public override void BeginObject(PersistableType typeID)
 {
     m_Xml.WriteStartElement(typeID.Name);
 }
Example #5
0
 public abstract void BeginObject(PersistableType typeID);
 public override void BeginObject( PersistableType typeID )
 {
     m_Xml.WriteStartElement( typeID.Name );
 }
 public abstract void BeginObject( PersistableType typeID );