/// <summary>
 /// Constructor.
 /// </summary>
 public SectionBuildResultsViewModel(
     string sectionName,
     TableInfo buildTableInfo,
     JArray buildTableData)
 {
     SectionName = sectionName;
     BuildTableInfo = buildTableInfo;
     BuildTableData = buildTableData;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public NestedTableConfig(
     string tableElementId,
     Type tableEntityType,
     IEnumerable<object> outerTableEntries,
     string emptyTableText)
 {
     TableElementId = tableElementId;
     TableInfo = new TableInfo(tableEntityType, showHeader: true);
     OuterTableEntries = outerTableEntries;
     EmptyTableText = emptyTableText;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public NestedTableConfig(
     string tableElementId,
     TableInfo tableInfo,
     IEnumerable<object> outerTableEntries,
     string emptyTableText)
 {
     TableElementId = tableElementId;
     TableInfo = tableInfo;
     OuterTableEntries = outerTableEntries;
     EmptyTableText = emptyTableText;
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public TableInfo(List<TableColumnInfo> columns, TableInfo childTableInfo, bool showHeader)
 {
     Columns = columns;
     ChildTableInfo = childTableInfo;
     ShowHeader = showHeader;
 }