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(); }
protected abstract ISection CreateNewSection(SectionDescription sectionDescription);