public void SetSections(ThingTypeSectionType section) { Sections.Clear(); if ((section & ThingTypeSectionType.Core) != 0) { Sections.Add(ThingTypeSections.Core); } if ((section & ThingTypeSectionType.Xsd) != 0) { Sections.Add(ThingTypeSections.Xsd); } if ((section & ThingTypeSectionType.Columns) != 0) { Sections.Add(ThingTypeSections.Columns); } if ((section & ThingTypeSectionType.Transforms) != 0) { Sections.Add(ThingTypeSections.Transforms); } if ((section & ThingTypeSectionType.TransformSource) != 0) { Sections.Add(ThingTypeSections.TransformSource); } if ((section & ThingTypeSectionType.Versions) != 0) { Sections.Add(ThingTypeSections.Versions); } }