Beispiel #1
0
 private static void VerifyValueType(object value)
 {
     if (!GDAList <T> .IsCompatibleObject(value))
     {
         throw new ArgumentException();
     }
 }
Beispiel #2
0
 void IList.Remove(object item)
 {
     if (GDAList <T> .IsCompatibleObject(item))
     {
         this.Remove((T)item);
     }
 }
Beispiel #3
0
 int IList.IndexOf(object item)
 {
     if (GDAList <T> .IsCompatibleObject(item))
     {
         return(this.IndexOf((T)item));
     }
     return(-1);
 }
Beispiel #4
0
 bool IList.Contains(object item)
 {
     if (GDAList <T> .IsCompatibleObject(item))
     {
         return(this.Contains((T)item));
     }
     return(false);
 }