Changeset 3839 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3
- Timestamp:
- 05/18/10 11:34:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Dataset.cs
r3493 r3839 89 89 } 90 90 } 91 public double this[string variableName, int rowIndex] { 92 get { 93 int columnIndex = GetVariableIndex(variableName); 94 return data[rowIndex, columnIndex]; 95 } 96 set { 97 int columnIndex = GetVariableIndex(variableName); 98 if (!value.Equals(data[rowIndex, columnIndex])) { 99 data[rowIndex, columnIndex] = value; 100 OnDataChanged(new EventArgs<int, int>(rowIndex, columnIndex)); 101 OnItemChanged(rowIndex, columnIndex); 102 } 103 } 104 } 91 105 // access to full columns 92 106 public double[] this[string variableName] {
Note: See TracChangeset
for help on using the changeset viewer.