internal void CopyTo(TourCostRuleConstraintPropertyCollection properties) { properties.Clear(); foreach (TourCostRuleConstraintProperty property in this) { TourCostRuleConstraintProperty newprop = new TourCostRuleConstraintProperty(); property.CopyTo(newprop); properties.Add(property); } }
public TourCostRuleConstraint() { this.id = -1; this.properties = new TourCostRuleConstraintPropertyCollection(); }