private SectionList GetActiveSections () { SectionList activeSections = new SectionList (); foreach (Section section in _sections) { if (section.IsActive (_context)) activeSections.Add (section); } return activeSections; }