Changeset 348 for branches/3.0/sources
- Timestamp:
- 06/29/08 01:46:57 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/sources/HeuristicLab.Data/ConstrainedItemList.cs
r2 r348 31 31 private List<IItem> list; 32 32 private bool suspendConstraintCheck; 33 34 public bool ConstraintCheckSuspended { 35 get { return suspendConstraintCheck; } 36 } 33 37 34 38 public ConstrainedItemList() … … 100 104 101 105 public bool EndCombinedOperation(out ICollection<IConstraint> violatedConstraints) { 102 suspendConstraintCheck = false; 103 return IsValid(out violatedConstraints); 106 if (IsValid(out violatedConstraints)) 107 suspendConstraintCheck = false; 108 else 109 suspendConstraintCheck = true; 110 111 return !suspendConstraintCheck; 104 112 } 105 113
Note: See TracChangeset
for help on using the changeset viewer.