Changeset 9614 for branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/SearchWithMatchOperationCommandBase.cs
- Timestamp:
- 06/12/13 13:32:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/SearchWithMatchOperationCommandBase.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 24 using System.Drawing; 26 25 using HeuristicLab.DataImporter.Data.CommandBase; 26 using HeuristicLab.DataImporter.Data.Model; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.DataImporter.Data.Model;29 using System.Drawing;30 28 31 29 namespace HeuristicLab.DataImporter.Command { … … 39 37 [StorableClass] 40 38 public abstract class SearchWithMatchOperationCommandBase : SearchCommandBase { 41 private SearchWithMatchOperationCommandBase() 42 : base(null, string.Empty, null) { 43 } 44 45 public SearchWithMatchOperationCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 39 [StorableConstructor] 40 protected SearchWithMatchOperationCommandBase(bool deserializing) : base(deserializing) { } 41 protected SearchWithMatchOperationCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 46 42 base(dataSet, columnGroupName, affectedColumns) { 47 43 } … … 121 117 break; 122 118 case MatchOperation.Larger: 123 compareFunction = (left, right) => { 119 compareFunction = (left, right) => { 124 120 if (left == null && right == null) return false; 125 121 else if (left != null && right == null) return false; 126 122 else if (left == null && right != null) return false; 127 return left.CompareTo(right) < 0; }; 123 return left.CompareTo(right) < 0; 124 }; 128 125 break; 129 126 default:
Note: See TracChangeset
for help on using the changeset viewer.