Esempio n. 1
0
 public void DeleteProperty(ChemShiftProperty propertyToDelete)
 {
     _shiftProperties.Remove(propertyToDelete);
     foreach (var shift in _shifts)
     {
         shift.Properties.Remove(propertyToDelete);
     }
 }
Esempio n. 2
0
 public void AddProperty(ChemShiftProperty newProperty)
 {
     /*
      * for (int i =0; i<Shifts.Count; i++)
      * {
      *  Shifts[i].Properties.Add(newProperty);
      * }
      */
     _shiftProperties.Add(newProperty);
     foreach (var shift in _shifts)
     {
         shift.Properties.Add(newProperty);
     }
 }