public ChromCollector(int statusId, bool hasTimes, bool hasMassErrors) { StatusId = statusId; Intensities = new BlockedList <float>(); if (hasTimes) { Times = new SortedBlockedList <float>(); } if (hasMassErrors) { MassErrors = new BlockedList <float>(); } }
/// <summary> /// Set a shared reference to a list of Times that is allocated independently. /// </summary> public void SetTimes(SortedBlockedList <float> times) { Times = times; }