/// <summary> /// Method to update item values /// </summary> /// <param name="items"> /// A reference parameter containing a List of Items. Ref since this method will update the object in place. /// b/c pass through mutation is gross - better to treat this method like a sea urchin (they eat, then throw up)</param> public static void UpdateQuality(ref List <IUpdateableItem> items) { foreach (var item in items) { var previousData = DataChange.Record(item); item.Update(); var newData = DataChange.Record(item); PrintChange(previousData, newData); } }