public override IList <OutputNode> GetNodes() { RegionTable entity = Entity as RegionTable; List <OutputNode> nodes = new List <OutputNode>(); ExportTemplate.Export.Entity.Region.Region[] regions = new ExportTemplate.Export.Entity.Region.Region[] { entity.GetRegion(RegionType.Body), entity.GetRegion(RegionType.RowHeader), entity.GetRegion(RegionType.ColumnHeader), entity.GetRegion(RegionType.Corner) }; foreach (var region in regions) { if (region != null) { nodes.AddRange(region.GetNodes()); } } return(nodes); }
public void AddRegion(Region region) { _regions.Add(region); }