public void DeleteRuleConstraint(string name) { RuleConstraintValues.Where(x => x.Name == name).ToList().ForEach(x => RuleConstraintValues.Remove(x)); UpdateRuleConstraints(); }
public void RemoveInvalidConstraints() { RuleConstraintValues.Where(x => string.IsNullOrEmpty(x.Left) || string.IsNullOrEmpty(x.Operation)).ToList().ForEach(x => RuleConstraintValues.Remove(x)); UpdateRuleConstraints(); }