- Timestamp:
- 03/26/14 12:25:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridLogic.cs
r10634 r10660 25 25 using System.Linq; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.DataPreprocessing.Implementations; 27 28 28 29 namespace HeuristicLab.DataPreprocessing { … … 30 31 31 32 private ITransactionalPreprocessingData preprocessingData; 33 private IEnumerable<string> rowNames; 32 34 33 35 public DataGridLogic(ITransactionalPreprocessingData preprocessingData) { 34 36 this.preprocessingData = preprocessingData; 37 createRowNames(); 38 } 39 40 private void createRowNames() { 41 rowNames = Enumerable.Range(1, Rows).Select(n => n.ToString()); 35 42 } 36 43 … … 55 62 public IEnumerable<string> RowNames { 56 63 get { 57 return Enumerable.Range(1, Rows).Select(n => n.ToString());64 return rowNames; 58 65 } 59 66 } … … 126 133 } 127 134 }); 135 createRowNames(); 128 136 } 129 137
Note: See TracChangeset
for help on using the changeset viewer.