Ejemplo n.º 1
0
        private ISection Build(SectionDescription sectionDescription)
        {
            var section = CreateNewSection(sectionDescription);

            section.HeaderView = Build(sectionDescription.HeaderElement);
            section.FooterView = Build(sectionDescription.FooterElement);

            FillProperties(section, sectionDescription.Properties);
            FillElements(section, sectionDescription.Elements);

            return section;
        }
 protected override ISection CreateNewSection(SectionDescription sectionDescription)
 {
     return new Section();
 }
Ejemplo n.º 3
0
 protected abstract ISection CreateNewSection(SectionDescription sectionDescription);