Exemple #1
0
        public void Add(MemberBase a_mb)
        {
            this._nameToMember[a_mb.Name] = a_mb;
            //			DataRow row = m_dtMembers.NewRow();
            //			m_dtMembers.Rows.Add(row);
            //
            //			row["Name"] = a_mb.Name;
            //			row["Hash"] = a_mb.GetHashCode();

            m_hashToMember[a_mb.GetHashCode()] = a_mb;

            m_aMembers.Add(a_mb);
        }
 public override void SetMember(MemberBase a_mb)
 {
 }
 public override void SetMember(MemberBase a_mb)
 {
     this.OnCreateVertexBuffer(vertexBuffer, null);
 }
Exemple #4
0
 public void Remove(MemberBase a_mb)
 {
     if (a_mb.Name==null)
     {
         return;
     }
     this._nameToMember.Remove(a_mb.Name);
     //			DataRow[] rows = m_dtMembers.Select("Hash = "+a_mb.GetHashCode());
     //			foreach (DataRow row in rows)
     //				m_dtMembers.Rows.Remove(row);
     m_hashToMember.Remove(a_mb.GetHashCode());
     m_aMembers.Remove(a_mb);
 }
 public abstract void SetMember(MemberBase a_mb);