Пример #1
0
 public void AddOrUpdate(SimpleStruct <SimpleBase, U> other)
 {
     for (int i = 0; i < listData.Count; i++)
     {
         if (listData[i].TData.TheSameAs(other.TData))
         {
             listData[i] = other;
             break;
         }
     }
     listData.Add(other);
 }
Пример #2
0
 public SimpleStruct <SimpleBase, U> OtherTypeData <V>(SimpleStruct <SimpleBase, V> OtherType)
 {
     return(GetItemData(OtherType.TData.CompareID));
 }