Changeset 347 for trunk/sources
- Timestamp:
- 06/29/08 01:44:32 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/ConstrainedItemList.cs
r2 r347 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.