using System; using System.Collections.Generic; using System.Linq; using System.Text; using HeuristicLab.Analysis; using HeuristicLab.Core; namespace HeuristicLab.DataPreprocessing.Implementations { [Item("PreprossingDataTable", "A table of data values.")] public class PreprocessingDataTable : DataTable { public PreprocessingDataTable() : base() { SelectedRows = new NamedItemCollection(); } public PreprocessingDataTable(string name) : base(name) { SelectedRows = new NamedItemCollection(); } private NamedItemCollection selectedRows; public NamedItemCollection SelectedRows { get { return selectedRows; } private set { if (selectedRows != null) throw new InvalidOperationException("Rows already set"); selectedRows = value; //if (selectedRows != null) RegisterRowsEvents(); } } } }