Changeset 3605 for trunk/sources
- Timestamp:
- 05/04/10 14:52:20 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Core/3.3/Constraints
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Constraints/Constraint.cs
r3602 r3605 36 36 protected Constraint(bool deserializing) { 37 37 } 38 protected Constraint(IItem constrainedValue, ConstraintOperation co mparisonOperation, object comparisonValue)38 protected Constraint(IItem constrainedValue, ConstraintOperation constraintOperation, object constraintData) 39 39 : this() { 40 40 this.ConstrainedValue = constrainedValue; 41 this.ConstraintOperation = co mparisonOperation;42 this.ConstraintData = co mparisonValue;41 this.ConstraintOperation = constraintOperation; 42 this.ConstraintData = constraintData; 43 43 } 44 protected Constraint(IItem constrainedValue, ConstraintOperation co mparisonOperation, object comparisonValue, bool active) {44 protected Constraint(IItem constrainedValue, ConstraintOperation constraintOperation, object constraintData, bool active) { 45 45 this.ConstrainedValue = constrainedValue; 46 this.ConstraintOperation = co mparisonOperation;47 this.ConstraintData = co mparisonValue;46 this.ConstraintOperation = constraintOperation; 47 this.ConstraintData = constraintData; 48 48 this.Active = active; 49 49 } -
trunk/sources/HeuristicLab.Core/3.3/Constraints/EqualityConstraint.cs
r3602 r3605 37 37 protected EqualityConstraint(bool deserializing) { 38 38 } 39 public EqualityConstraint(IItem constrainedValue, ConstraintOperation co mparisonOperation, object comparisonValue)40 : base(constrainedValue, co mparisonOperation, comparisonValue) {39 public EqualityConstraint(IItem constrainedValue, ConstraintOperation constraintOperation, object constraintData) 40 : base(constrainedValue, constraintOperation, constraintData) { 41 41 } 42 public EqualityConstraint(IItem constrainedValue, ConstraintOperation co mparisonOperation, object comparisonValue, bool active)43 : base(constrainedValue, co mparisonOperation, comparisonOperation, active) {42 public EqualityConstraint(IItem constrainedValue, ConstraintOperation constraintOperation, object constraintData, bool active) 43 : base(constrainedValue, constraintOperation, constraintData, active) { 44 44 } 45 45 -
trunk/sources/HeuristicLab.Core/3.3/Constraints/TypeCompatibilityConstraint.cs
r3602 r3605 36 36 : base() { 37 37 } 38 public TypeCompatibilityConstraint(IItem constrainedValue, ConstraintOperation co mparisonOperation, Type comparisonValue)39 : base(constrainedValue, co mparisonOperation, comparisonValue) {38 public TypeCompatibilityConstraint(IItem constrainedValue, ConstraintOperation constraintOperation, Type constraintData) 39 : base(constrainedValue, constraintOperation, constraintData) { 40 40 } 41 public TypeCompatibilityConstraint(IItem constrainedValue, ConstraintOperation co mparisonOperation, object comparisonValue, bool active)42 : base(constrainedValue, co mparisonOperation, comparisonOperation, active) {41 public TypeCompatibilityConstraint(IItem constrainedValue, ConstraintOperation constraintOperation, Type constraintData, bool active) 42 : base(constrainedValue, constraintOperation, constraintData, active) { 43 43 } 44 44
Note: See TracChangeset
for help on using the changeset viewer.