Engage.Survey.Entities.Survey.GetSections C# (CSharp) Method

GetSections() public method

Gets the sections for this instance.
public GetSections ( ) : List
return List
        public List<ISection> GetSections()
        {
            var sections = new List<ISection>();

            foreach (var section in this.Sections)
            {
                sections.Add(section);
            }

            sections.Sort(new Section.RelativeOrderComparer());
            return sections;
        }