- Timestamp:
- 01/11/09 23:25:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CEDMA-Refactoring-Ticket419/HeuristicLab.CEDMA.Core/Results.cs
r1108 r1109 36 36 37 37 namespace HeuristicLab.CEDMA.Core { 38 public class Results {38 public class Results : ItemBase { 39 39 public static string[] CategoricalVariables { 40 40 get { return new string[] { "TargetVariable" }; } … … 63 63 } 64 64 65 public IEnumerable<ResultsEntry> SelectRows() { 65 private List<ResultsEntry> entries = null; 66 public IEnumerable<ResultsEntry> GetEntries() { 67 if (entries == null) 68 Reload(); 69 return entries.AsEnumerable(); 70 } 71 72 internal void Reload() { 73 entries = SelectRows().ToList(); 74 FireChanged(); 75 } 76 77 private IEnumerable<ResultsEntry> SelectRows() { 66 78 if (store == null) yield break; 67 79
Note: See TracChangeset
for help on using the changeset viewer.