PurplePen.PunchPrinting.GetDescriptionList C# (CSharp) Method

GetDescriptionList() protected method

protected GetDescriptionList ( ) : IPrintableRectangle[]
return IPrintableRectangle[]
        protected override IPrintableRectangle[] GetDescriptionList()
        {
            List<IPrintableRectangle> rendererList = new List<IPrintableRectangle>();

            // Get the list of renderers for the descriptions we're printing.
            foreach (CourseDesignator designator in QueryEvent.EnumerateCourseDesignators(
                                                    eventDB, punchPrintSettings.CourseIds, punchPrintSettings.VariationChoicesPerCourse, false)) {
                rendererList.Add(GetRenderer(CourseView.CreateViewingCourseView(eventDB, designator)));
            }

            return rendererList.ToArray();
        }