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)); }
public KorpaItem(int indexCounter, KorpaContainer korpaContainer) { Key = indexCounter; Value = korpaContainer; }
public KorpaItem() { Key = 0; Value = new KorpaContainer(); }
public void Update(KorpaContainer value) { KPartner = value.KPartner; KArtikal = value.KArtikal; IncInt = value.IncInt; }