public void AddNoSetOwner(UpdateBase _obj)
 {
     if (_obj == null || mList.Contains(_obj))
     {
         return;
     }
     mList.Add(_obj);
 }
 public void Remove(UpdateBase _obj)
 {
     if (_obj == null || !mList.Contains(_obj))
     {
         return;
     }
     mList.Remove(_obj);
 }
 public void Insert(int pIndex, UpdateBase pSor)
 {
     if (pSor == null || mList.Contains(pSor))
     {
         return;
     }
     pSor.Owner = this;
     mList.Insert(pIndex, pSor);
 }
 public void Add(UpdateBase _obj)
 {
     if (_obj == null || mList.Contains(_obj))
     {
         return;
     }
     _obj.Owner = this;
     _obj.RegToOwner();
 }
 public void Clear()
 {
     for (int i = mList.Count - 1; i >= 0; i--)
     {
         UpdateBase tobj = mList[i];
         mList.RemoveAt(i);
         tobj.Dispose();
     }
     mList.Clear();
 }
 public void ClearObj(UpdateBase _obj)
 {
     if (_obj == null || !mList.Contains(_obj))
     {
         return;
     }
     mList.Remove(_obj);
     _obj.Owner = null;
     _obj.Dispose();
 }
 private void RunUpdate(UpdateBase _runobj)
 {
     try
     {
         _runobj.RunDelgete();
     }
     catch (System.Exception _erro)
     {
         DLog.LogError(string.Format("[{0}] [{1}]{2}", mUpdateType.ToString(), _runobj.Key, _erro.ToString()));
         _runobj.UnRegToOwner();
     }
 }
 public void ClearByKey(string _key)
 {
     for (int i = mList.Count - 1; i >= 0; i--)
     {
         UpdateBase tobj = mList[i];
         if (!tobj.Key.Equals(_key))
         {
             continue;
         }
         tobj.Dead = true;
     }
 }