示例#1
0
 public void Update(int index, KorpaContainer value)
 {
     if (SadrzajKorpe.Any(item => item.Key.Equals(index)))
     {
         SadrzajKorpe.First(container => container.Key.Equals(index)).Value.Update(value);
         return;
     }
     SadrzajKorpe.Add(new KorpaItem(index, value));
 }
示例#2
0
 public KorpaItem(int indexCounter, KorpaContainer korpaContainer)
 {
     Key   = indexCounter;
     Value = korpaContainer;
 }
示例#3
0
 public KorpaItem()
 {
     Key   = 0;
     Value = new KorpaContainer();
 }
示例#4
0
 public void Update(KorpaContainer value)
 {
     KPartner = value.KPartner;
     KArtikal = value.KArtikal;
     IncInt   = value.IncInt;
 }