Esempio n. 1
0
 public static void Register(PersistableType type)
 {
     if (type != null)
     {
         m_Table[type.Name] = type;
     }
 }
Esempio n. 2
0
		public static void Register( PersistableType type )
		{
			if ( type != null )
			{
				m_Table[type.Name] = type;
			}
		}
Esempio n. 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);
        }
Esempio n. 4
0
 public override void BeginObject(PersistableType typeID)
 {
     m_Xml.WriteStartElement(typeID.Name);
 }
Esempio n. 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 );