public virtual void RemoveAllIntervals() { foreach (var interval in TimeIntervals.Reverse()) { RemoveTimeInterval(interval); } }