示例#1
0
文件: ListX.cs 项目: weichx/SpaceGame
 public int IndexOf(object item)
 {
     if (ListX <T> .IsCompatibleObject(item))
     {
         return(this.IndexOf((T)item));
     }
     return(-1);
 }
示例#2
0
文件: ListX.cs 项目: weichx/SpaceGame
 void IList.Remove(object item)
 {
     if (!ListX <T> .IsCompatibleObject(item))
     {
         return;
     }
     this.Remove((T)item);
 }
示例#3
0
文件: ListX.cs 项目: weichx/SpaceGame
 bool IList.Contains(object item)
 {
     if (ListX <T> .IsCompatibleObject(item))
     {
         return(this.Contains((T)item));
     }
     return(false);
 }