Beispiel #1
0
        public static void Remove <T>(this StorageList list, T obj)
        {
            var index = list.IndexOf(obj);

            if (index >= 0)
            {
                list.RemoveAt <T>(index);
            }
        }
Beispiel #2
0
 public static bool Contains <T>(this StorageList list, T obj)
 {
     return(list.IndexOf(obj) >= 0);
 }