public IEnumerable <IResumeElement> ProduceElements(ResumeData data)
        {
            yield return(new ResumeParagraph("Membership").SetSectionHeaderStyle());

            var bulletedList = new ResumeBulletedList();

            foreach (var membership in data.OrganisationsMemberships)
            {
                bulletedList.AddParagraph(String.Format("{0} - {1}", membership.OrganisationName, membership.MembershipName));
            }

            yield return(bulletedList);
        }
示例#2
0
        public IEnumerable <IResumeElement> ProduceElements(ResumeData resumeData)
        {
            yield return(new ResumeParagraph("Certifications").SetSectionHeaderStyle());

            var bulletedList = new ResumeBulletedList();

            foreach (var certification in resumeData.Certifications)
            {
                var text = String.Format("{0} {1:y} - {2:y}", certification.CertificationName, certification.StartDate, certification.ExpiryDate);
                bulletedList.AddParagraph(text);
            }

            yield return(bulletedList);
        }